aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorViktor Vorona <viktor.vorona@sonarsource.com>2024-08-23 17:38:01 +0200
committersonartech <sonartech@sonarsource.com>2024-08-26 20:03:09 +0000
commit79fb7b9830e69af701e306c39591cb8658e9d6c1 (patch)
tree8c9c6d83f4eba66403f48675ed834687f8134480 /server
parent16119bec36fb0ca3a832258ffe62d8bce4556ff7 (diff)
downloadsonarqube-79fb7b9830e69af701e306c39591cb8658e9d6c1.tar.gz
sonarqube-79fb7b9830e69af701e306c39591cb8658e9d6c1.zip
SONAR-22728 Do not show releasability for Application
Diffstat (limited to 'server')
-rw-r--r--server/sonar-web/src/main/js/apps/component-measures/utils.ts6
1 files changed, 5 insertions, 1 deletions
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));
}