From 85ba9f195b61f8c03641c1d1cc16e414415970b9 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Thu, 10 Mar 2016 15:43:04 +0100 Subject: [PATCH] SONAR-7402 do not display leak placeholder for measures --- .../apps/component-measures/components/AllMeasuresDomain.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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)} - )}
)} -- 2.39.5