From 79fb7b9830e69af701e306c39591cb8658e9d6c1 Mon Sep 17 00:00:00 2001 From: Viktor Vorona Date: Fri, 23 Aug 2024 17:38:01 +0200 Subject: [PATCH] SONAR-22728 Do not show releasability for Application --- .../sonar-web/src/main/js/apps/component-measures/utils.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/server/sonar-web/src/main/js/apps/component-measures/utils.ts b/server/sonar-web/src/main/js/apps/component-measures/utils.ts index e47f720209e..5424ba9d481 100644 --- a/server/sonar-web/src/main/js/apps/component-measures/utils.ts +++ b/server/sonar-web/src/main/js/apps/component-measures/utils.ts @@ -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)); } -- 2.39.5