]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-12131 Add security review rating to portfolios measures page
authorJeremy Davis <jeremy.davis@sonarsource.com>
Wed, 12 Jun 2019 14:13:41 +0000 (16:13 +0200)
committerSonarTech <sonartech@sonarsource.com>
Fri, 14 Jun 2019 18:21:11 +0000 (20:21 +0200)
server/sonar-web/src/main/js/apps/component-measures/components/App.tsx

index 1b44f045888755bad63cda438eb03e82d1329f84..44dc101b0fb503d19db99a2eb08a85f6e43b9355 100644 (file)
@@ -137,7 +137,7 @@ export class App extends React.PureComponent<Props, State> {
     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');