From d4723451db83f291826b2f09f3f16f9cbc64d411 Mon Sep 17 00:00:00 2001 From: Jeremy Davis Date: Fri, 6 Mar 2020 14:33:47 +0100 Subject: SONAR-13131 Add Security Review Rating explanation tooltip --- server/sonar-web/src/main/js/components/measure/utils.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server') 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.MeasureEnhanced { -- cgit v1.2.3