]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-19345 Fixes for showing variants for an issue
authorRevanshu Paliwal <revanshu.paliwal@sonarsource.com>
Tue, 20 Jun 2023 12:56:00 +0000 (14:56 +0200)
committersonartech <sonartech@sonarsource.com>
Tue, 20 Jun 2023 15:13:44 +0000 (15:13 +0000)
server/sonar-web/src/main/js/components/issue/components/IssueActionsBar.tsx

index 8b2552bbc328b77bbe7f7e3dbcc616696bd858f6..ec51b6f62e954ef57ce096b0b94e0a2d0270504b 100644 (file)
@@ -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" />