aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/widgets/old/pie-chart.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/widgets/old/pie-chart.js')
-rw-r--r--server/sonar-web/src/main/js/widgets/old/pie-chart.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/widgets/old/pie-chart.js b/server/sonar-web/src/main/js/widgets/old/pie-chart.js
index f3d81e7f639..929eb6a08ba 100644
--- a/server/sonar-web/src/main/js/widgets/old/pie-chart.js
+++ b/server/sonar-web/src/main/js/widgets/old/pie-chart.js
@@ -231,7 +231,7 @@ window.SonarWidgets = window.SonarWidgets == null ? {} : window.SonarWidgets;
var metrics = widget.metricsPriority().map(function(m) {
return {
name: widget.metrics()[m].name,
- value: (!!d.measures[m] ? d.measures[m].fval : '–')
+ value: (d.measures[m] ? d.measures[m].fval : '–')
};
});
metrics.unshift({