From: Wouter Admiraal Date: Mon, 22 Feb 2021 11:24:32 +0000 (+0100) Subject: SONAR-14479 Fix project quality profile's rule link X-Git-Tag: 8.8.0.42792~121 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b2a448377174b747987d856a63acb48243f72393;p=sonarqube.git SONAR-14479 Fix project quality profile's rule link --- diff --git a/server/sonar-web/src/main/js/apps/projectQualityProfiles/ProjectQualityProfilesAppRenderer.tsx b/server/sonar-web/src/main/js/apps/projectQualityProfiles/ProjectQualityProfilesAppRenderer.tsx index 7e993adad58..53f79b447e7 100644 --- a/server/sonar-web/src/main/js/apps/projectQualityProfiles/ProjectQualityProfilesAppRenderer.tsx +++ b/server/sonar-web/src/main/js/apps/projectQualityProfiles/ProjectQualityProfilesAppRenderer.tsx @@ -127,7 +127,7 @@ export default function ProjectQualityProfilesAppRenderer( - + {profile.activeRuleCount} diff --git a/server/sonar-web/src/main/js/apps/projectQualityProfiles/__tests__/__snapshots__/ProjectQualityProfilesAppRenderer-test.tsx.snap b/server/sonar-web/src/main/js/apps/projectQualityProfiles/__tests__/__snapshots__/ProjectQualityProfilesAppRenderer-test.tsx.snap index 43767f2d8ab..e17e8469e71 100644 --- a/server/sonar-web/src/main/js/apps/projectQualityProfiles/__tests__/__snapshots__/ProjectQualityProfilesAppRenderer-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/projectQualityProfiles/__tests__/__snapshots__/ProjectQualityProfilesAppRenderer-test.tsx.snap @@ -105,6 +105,7 @@ exports[`should render correctly: add language 1`] = ` Object { "pathname": "/coding_rules", "query": Object { + "activation": "true", "qprofile": "bar", }, } @@ -151,6 +152,7 @@ exports[`should render correctly: add language 1`] = ` Object { "pathname": "/coding_rules", "query": Object { + "activation": "true", "qprofile": "baz", }, } @@ -199,6 +201,7 @@ exports[`should render correctly: add language 1`] = ` Object { "pathname": "/coding_rules", "query": Object { + "activation": "true", "qprofile": "foo", }, } @@ -416,6 +419,7 @@ exports[`should render correctly: default 1`] = ` Object { "pathname": "/coding_rules", "query": Object { + "activation": "true", "qprofile": "bar", }, } @@ -462,6 +466,7 @@ exports[`should render correctly: default 1`] = ` Object { "pathname": "/coding_rules", "query": Object { + "activation": "true", "qprofile": "baz", }, } @@ -510,6 +515,7 @@ exports[`should render correctly: default 1`] = ` Object { "pathname": "/coding_rules", "query": Object { + "activation": "true", "qprofile": "foo", }, } @@ -747,6 +753,7 @@ exports[`should render correctly: open profile 1`] = ` Object { "pathname": "/coding_rules", "query": Object { + "activation": "true", "qprofile": "bar", }, } @@ -793,6 +800,7 @@ exports[`should render correctly: open profile 1`] = ` Object { "pathname": "/coding_rules", "query": Object { + "activation": "true", "qprofile": "baz", }, } @@ -841,6 +849,7 @@ exports[`should render correctly: open profile 1`] = ` Object { "pathname": "/coding_rules", "query": Object { + "activation": "true", "qprofile": "foo", }, }