aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/sonar-web/src/main/coffee/component-viewer/duplication-popup.coffee3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/coffee/component-viewer/duplication-popup.coffee b/server/sonar-web/src/main/coffee/component-viewer/duplication-popup.coffee
index e1459f0b185..c9e6545fd24 100644
--- a/server/sonar-web/src/main/coffee/component-viewer/duplication-popup.coffee
+++ b/server/sonar-web/src/main/coffee/component-viewer/duplication-popup.coffee
@@ -42,6 +42,9 @@ define [
key: file.key
name: x.name
subname: x.dir
+ component:
+ projectName: file.projectName
+ subProjectName: file.subProjectName
active: file.key == key
if key == @options.main.component.get 'key'
@options.main.scrollToLine line