aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-server
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2014-07-11 18:08:05 +0600
committerStas Vilchik <vilchiks@gmail.com>2014-07-11 18:08:17 +0600
commitb97c29f3302da722be151f408f259ac0bd85ddf9 (patch)
tree4ff8e088e48e3894a2bd64b1d46a1550fb872037 /server/sonar-server
parentaef3934e4a886cae37f83636c4d6e5304db395e8 (diff)
downloadsonarqube-b97c29f3302da722be151f408f259ac0bd85ddf9.tar.gz
sonarqube-b97c29f3302da722be151f408f259ac0bd85ddf9.zip
SONAR-5207 Fix for views
Diffstat (limited to 'server/sonar-server')
-rw-r--r--server/sonar-server/src/main/coffee/widgets/treemap.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-server/src/main/coffee/widgets/treemap.coffee b/server/sonar-server/src/main/coffee/widgets/treemap.coffee
index 075eabe43e3..5f738816714 100644
--- a/server/sonar-server/src/main/coffee/widgets/treemap.coffee
+++ b/server/sonar-server/src/main/coffee/widgets/treemap.coffee
@@ -195,7 +195,7 @@ class Treemap extends window.SonarWidgets.BaseWidget
component.msr.forEach (measure) ->
measures[measure.key] = val: measure.val, fval: measure.frmt_val
- key: component.key
+ key: if component.copy? then component.copy else component.key
name: component.name
longName: component.lname
qualifier: component.qualifier