From 6a1706b702005a66ebed806730bdf50a361e6c1f Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Fri, 25 Mar 2016 15:53:32 +0100 Subject: [PATCH] SONAR-7402 do not diplay leak value for RATING measures --- .../src/main/js/apps/component-measures/home/MeasuresList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/sonar-web/src/main/js/apps/component-measures/home/MeasuresList.js b/server/sonar-web/src/main/js/apps/component-measures/home/MeasuresList.js index 4bf7833968d..04f1415927e 100644 --- a/server/sonar-web/src/main/js/apps/component-measures/home/MeasuresList.js +++ b/server/sonar-web/src/main/js/apps/component-measures/home/MeasuresList.js @@ -41,7 +41,7 @@ const MeasuresList = ({ measures, hasLeak, component }) => { )} - {hasLeak && measure.leak != null && ( + {hasLeak && measure.leak != null && measure.metric.type !== 'RATING' && (
{formatLeak(measure.leak, measure.metric)} -- 2.39.5