From: Revanshu Paliwal Date: Tue, 20 Jun 2023 12:56:00 +0000 (+0200) Subject: SONAR-19345 Fixes for showing variants for an issue X-Git-Tag: 10.1.0.73491 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0fde5a77ca14da4755233708a7fd22ae3505bafa;p=sonarqube.git SONAR-19345 Fixes for showing variants for an issue --- diff --git a/server/sonar-web/src/main/js/components/issue/components/IssueActionsBar.tsx b/server/sonar-web/src/main/js/components/issue/components/IssueActionsBar.tsx index 8b2552bbc32..ec51b6f62e9 100644 --- a/server/sonar-web/src/main/js/components/issue/components/IssueActionsBar.tsx +++ b/server/sonar-web/src/main/js/components/issue/components/IssueActionsBar.tsx @@ -191,7 +191,9 @@ export default function IssueActionsBar(props: Props) { - {ruleEngine} + + {ruleEngine} + )} @@ -200,11 +202,11 @@ export default function IssueActionsBar(props: Props) { <> - <> + {issue.codeVariants.length > 1 ? translateWithParameters('issue.x_code_variants', issue.codeVariants.length) : translate('issue.1_code_variant')} - +