From: Stas Vilchik Date: Thu, 10 Mar 2016 14:43:04 +0000 (+0100) Subject: SONAR-7402 do not display leak placeholder for measures X-Git-Tag: 5.5-M10~32 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=85ba9f195b61f8c03641c1d1cc16e414415970b9;p=sonarqube.git SONAR-7402 do not display leak placeholder for measures --- diff --git a/server/sonar-web/src/main/js/apps/component-measures/components/AllMeasuresDomain.js b/server/sonar-web/src/main/js/apps/component-measures/components/AllMeasuresDomain.js index f70f0afd203..44df2b51b12 100644 --- a/server/sonar-web/src/main/js/apps/component-measures/components/AllMeasuresDomain.js +++ b/server/sonar-web/src/main/js/apps/component-measures/components/AllMeasuresDomain.js @@ -65,13 +65,11 @@ export default function AllMeasuresDomain ({ domain, component, displayLeakHeade )} - {hasLeak && ( + {hasLeak && measure.leak != null && (
- {measure.leak != null && ( - + {formatLeak(measure.leak, measure.metric)} - )}
)}