From 404d315b077c84da3c31b0c0f4dde852d918c8d1 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Thu, 24 Aug 2017 11:53:47 +0200 Subject: SONAR-9736 Build UI for long-living branches (#2390) --- .../src/main/js/components/SourceViewer/popups/duplication-popup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/sonar-web/src/main/js/components/SourceViewer/popups/duplication-popup.js') 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() { -- cgit v1.2.3