]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-22728 Do not show releasability for Application
authorViktor Vorona <viktor.vorona@sonarsource.com>
Fri, 23 Aug 2024 15:38:01 +0000 (17:38 +0200)
committersonartech <sonartech@sonarsource.com>
Mon, 26 Aug 2024 20:03:09 +0000 (20:03 +0000)
server/sonar-web/src/main/js/apps/component-measures/utils.ts

index e47f720209e2e2b767eb59174dfb11e98189b344..5424ba9d4819464e8f65e6cdd5edeb9632169831 100644 (file)
@@ -240,7 +240,11 @@ export function banQualityGateMeasure({ measures = [], qualifier }: ComponentMea
     bannedMetrics.push(MetricKey.alert_status);
   }
   if (qualifier === ComponentQualifier.Application) {
-    bannedMetrics.push(MetricKey.releasability_rating, MetricKey.releasability_effort);
+    bannedMetrics.push(
+      MetricKey.releasability_rating,
+      MetricKey.releasability_effort,
+      MetricKey.software_quality_releasability_rating,
+    );
   }
   return measures.filter((measure) => !bannedMetrics.includes(measure.metric));
 }