diff options
author | Revanshu Paliwal <revanshu.paliwal@sonarsource.com> | 2023-06-20 14:56:00 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-06-20 15:17:42 +0000 |
commit | 0fde5a77ca14da4755233708a7fd22ae3505bafa (patch) | |
tree | 5ed3b7a93d938360c5ce2f75a188db8deee162ef | |
parent | 059326f1c35acc96849a7002090091974fb416b9 (diff) | |
download | sonarqube-0fde5a77ca14da4755233708a7fd22ae3505bafa.tar.gz sonarqube-0fde5a77ca14da4755233708a7fd22ae3505bafa.zip |
SONAR-19345 Fixes for showing variants for an issue10.1.0.73491
-rw-r--r-- | server/sonar-web/src/main/js/components/issue/components/IssueActionsBar.tsx | 8 |
1 files changed, 5 insertions, 3 deletions
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) { <Tooltip overlay={translateWithParameters('issue.from_external_rule_engine', ruleEngine)} > - <Badge>{ruleEngine}</Badge> + <span> + <Badge>{ruleEngine}</Badge> + </span> </Tooltip> </li> )} @@ -200,11 +202,11 @@ export default function IssueActionsBar(props: Props) { <> <IssueMetaListItem> <Tooltip overlay={issue.codeVariants.join(', ')}> - <> + <span> {issue.codeVariants.length > 1 ? translateWithParameters('issue.x_code_variants', issue.codeVariants.length) : translate('issue.1_code_variant')} - </> + </span> </Tooltip> </IssueMetaListItem> <SeparatorCircleIcon aria-hidden as="li" /> |