diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileRulesDeprecatedWarning.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileRulesDeprecatedWarning.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileRulesDeprecatedWarning.tsx b/server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileRulesDeprecatedWarning.tsx index 5ea85d8a669..e2cd08698ce 100644 --- a/server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileRulesDeprecatedWarning.tsx +++ b/server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileRulesDeprecatedWarning.tsx @@ -30,7 +30,6 @@ interface Props { } export default function ProfileRulesDeprecatedWarning(props: Props) { - const url = getDeprecatedActiveRulesUrl({ qprofile: props.profile }, props.organization); return ( <div className="quality-profile-rules-deprecated clearfix"> <span className="pull-left"> @@ -39,7 +38,9 @@ export default function ProfileRulesDeprecatedWarning(props: Props) { <i className="icon-help spacer-left" /> </Tooltip> </span> - <Link className="pull-right" to={url}> + <Link + className="pull-right" + to={getDeprecatedActiveRulesUrl({ qprofile: props.profile }, props.organization)}> {props.activeDeprecatedRules} </Link> </div> |