aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorJeremy Davis <jeremy.davis@sonarsource.com>2020-03-06 14:33:47 +0100
committersonartech <sonartech@sonarsource.com>2020-03-09 20:04:22 +0000
commitd4723451db83f291826b2f09f3f16f9cbc64d411 (patch)
tree1267a9ebd4480018b1833a1153965a6569650854 /server
parent1093d3c1b862746a8a8679a24cd06f56d62ddf3d (diff)
downloadsonarqube-d4723451db83f291826b2f09f3f16f9cbc64d411.tar.gz
sonarqube-d4723451db83f291826b2f09f3f16f9cbc64d411.zip
SONAR-13131 Add Security Review Rating explanation tooltip
Diffstat (limited to 'server')
-rw-r--r--server/sonar-web/src/main/js/components/measure/utils.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/components/measure/utils.ts b/server/sonar-web/src/main/js/components/measure/utils.ts
index 4a05659fc13..6d07dcb1b05 100644
--- a/server/sonar-web/src/main/js/components/measure/utils.ts
+++ b/server/sonar-web/src/main/js/components/measure/utils.ts
@@ -24,7 +24,8 @@ const KNOWN_RATINGS = [
'sqale_rating',
'maintainability_rating', // Needed to provide the label for "new_maintainability_rating"
'reliability_rating',
- 'security_rating'
+ 'security_rating',
+ 'security_review_rating'
];
export function enhanceMeasure(measure: T.Measure, metrics: T.Dict<T.Metric>): T.MeasureEnhanced {