]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-19961 Fix order of cards for PR overview
authorDavid Cho-Lerat <david.cho-lerat@sonarsource.com>
Mon, 24 Jul 2023 09:07:20 +0000 (11:07 +0200)
committersonartech <sonartech@sonarsource.com>
Mon, 24 Jul 2023 20:03:21 +0000 (20:03 +0000)
server/sonar-web/src/main/js/apps/overview/pullRequests/PullRequestOverview.tsx

index d5be3ce02918a64ac6e344a7b4d67675c2c2f219..e01f332016f2baba1d4cbef3e7c85b1cc7367b2f 100644 (file)
@@ -175,9 +175,9 @@ export default function PullRequestOverview(props: Props) {
             <div className="sw-grid sw-grid-cols-2 sw-gap-4 sw-mt-4">
               {[
                 IssueType.Bug,
+                IssueType.CodeSmell,
                 IssueType.Vulnerability,
                 IssueType.SecurityHotspot,
-                IssueType.CodeSmell,
               ].map((type: IssueType) => (
                 <Card key={type} className="sw-p-8">
                   <MeasuresPanelIssueMeasure