From f7a9aee8973af259ae5ec0d939f455f49371d73f Mon Sep 17 00:00:00 2001 From: Jeremy Davis Date: Wed, 12 Jun 2019 16:13:41 +0200 Subject: [PATCH] SONAR-12131 Add security review rating to portfolios measures page --- .../src/main/js/apps/component-measures/components/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/sonar-web/src/main/js/apps/component-measures/components/App.tsx b/server/sonar-web/src/main/js/apps/component-measures/components/App.tsx index 1b44f045888..44dc101b0fb 100644 --- a/server/sonar-web/src/main/js/apps/component-measures/components/App.tsx +++ b/server/sonar-web/src/main/js/apps/component-measures/components/App.tsx @@ -137,7 +137,7 @@ export class App extends React.PureComponent { const banQualityGate = ({ measures = [], qualifier }: T.ComponentMeasure) => { const bannedMetrics: string[] = []; if (!['VW', 'SVW'].includes(qualifier)) { - bannedMetrics.push('alert_status'); + bannedMetrics.push('alert_status', 'security_review_rating'); } if (qualifier === 'APP') { bannedMetrics.push('releasability_rating', 'releasability_effort'); -- 2.39.5