From: Stas Vilchik Date: Fri, 25 Mar 2016 14:53:32 +0000 (+0100) Subject: SONAR-7402 do not diplay leak value for RATING measures X-Git-Tag: 5.5-M12~73 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6a1706b702005a66ebed806730bdf50a361e6c1f;p=sonarqube.git SONAR-7402 do not diplay leak value for RATING measures --- 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)}