diff options
author | Stas Vilchik <stas.vilchik@sonarsource.com> | 2017-08-24 11:53:47 +0200 |
---|---|---|
committer | Janos Gyerik <janos.gyerik@sonarsource.com> | 2017-09-12 11:34:49 +0200 |
commit | 404d315b077c84da3c31b0c0f4dde852d918c8d1 (patch) | |
tree | 176840ffdfb472a469848539dfbb803372c94b93 /server/sonar-web/src/main/js/components/SourceViewer/popups/duplication-popup.js | |
parent | 9f5272cac177f024354dd72da2cda2160c5440af (diff) | |
download | sonarqube-404d315b077c84da3c31b0c0f4dde852d918c8d1.tar.gz sonarqube-404d315b077c84da3c31b0c0f4dde852d918c8d1.zip |
SONAR-9736 Build UI for long-living branches (#2390)
Diffstat (limited to 'server/sonar-web/src/main/js/components/SourceViewer/popups/duplication-popup.js')
-rw-r--r-- | server/sonar-web/src/main/js/components/SourceViewer/popups/duplication-popup.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/components/SourceViewer/popups/duplication-popup.js b/server/sonar-web/src/main/js/components/SourceViewer/popups/duplication-popup.js index fec8023fc77..e5fc6ec87f2 100644 --- a/server/sonar-web/src/main/js/components/SourceViewer/popups/duplication-popup.js +++ b/server/sonar-web/src/main/js/components/SourceViewer/popups/duplication-popup.js @@ -34,7 +34,7 @@ export default Popup.extend({ const key = $(e.currentTarget).data('key'); const line = $(e.currentTarget).data('line'); const Workspace = require('../../workspace/main').default; - Workspace.openComponent({ key, line }); + Workspace.openComponent({ key, line, branch: this.options.branch }); }, serializeData() { |