]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-7402 fix formatting of differential measures
authorStas Vilchik <vilchiks@gmail.com>
Fri, 8 Apr 2016 08:14:19 +0000 (10:14 +0200)
committerTom <thomas.verin@sonarsource.com>
Wed, 13 Apr 2016 13:42:01 +0000 (15:42 +0200)
server/sonar-web/src/main/js/apps/component-measures/home/MeasureListValue.js

index f53460afbd1fbcdec98115717aaf5b65dbf2e5d9..3c61560f7210e2bca1a9ba334cef3d91977c7d5a 100644 (file)
@@ -29,7 +29,7 @@ const MeasureListValue = ({ measure }) => {
   if (isDiffMetric(metric)) {
     return (
         <div id={`measure-${measure.metric.key}-leak`} className="domain-measures-value domain-measures-leak">
-          {formatMeasure(measure.leak, measure.metric.key)}
+          {formatMeasure(measure.leak, measure.metric.type)}
         </div>
     );
   }