diff options
author | Jeremy Davis <jeremy.davis@sonarsource.com> | 2020-02-05 16:20:21 +0100 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2020-02-11 20:46:12 +0100 |
commit | 68fcdbc99ccd373472684d49ace6c28668737210 (patch) | |
tree | 188e8bbec9b2f8d0a71c1c64f75c0b4b4e564b82 /server/sonar-web/src | |
parent | 16c25a7b2211d67ed55076b43c379a30497b3da2 (diff) | |
download | sonarqube-68fcdbc99ccd373472684d49ace6c28668737210.tar.gz sonarqube-68fcdbc99ccd373472684d49ace6c28668737210.zip |
SONAR-12966 Filter QG condition metrics
Diffstat (limited to 'server/sonar-web/src')
-rw-r--r-- | server/sonar-web/src/main/js/apps/quality-gates/components/Conditions.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/quality-gates/components/Conditions.tsx b/server/sonar-web/src/main/js/apps/quality-gates/components/Conditions.tsx index 8c124a65a98..e8c8def8bfb 100644 --- a/server/sonar-web/src/main/js/apps/quality-gates/components/Conditions.tsx +++ b/server/sonar-web/src/main/js/apps/quality-gates/components/Conditions.tsx @@ -46,7 +46,8 @@ const FORBIDDEN_METRIC_TYPES = ['DATA', 'DISTRIB', 'STRING', 'BOOL']; const FORBIDDEN_METRICS: string[] = [ MetricKey.alert_status, MetricKey.releasability_rating, - MetricKey.security_review_rating + MetricKey.security_hotspots, + MetricKey.new_security_hotspots ]; export class Conditions extends React.PureComponent<Props> { |