aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/SourceViewer/popups/coverage-popup.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/components/SourceViewer/popups/coverage-popup.js')
-rw-r--r--server/sonar-web/src/main/js/components/SourceViewer/popups/coverage-popup.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/components/SourceViewer/popups/coverage-popup.js b/server/sonar-web/src/main/js/components/SourceViewer/popups/coverage-popup.js
index 3206805adc1..4100e0a5439 100644
--- a/server/sonar-web/src/main/js/components/SourceViewer/popups/coverage-popup.js
+++ b/server/sonar-web/src/main/js/components/SourceViewer/popups/coverage-popup.js
@@ -38,7 +38,7 @@ export default Popup.extend({
e.stopPropagation();
const key = $(e.currentTarget).data('key');
const Workspace = require('../../workspace/main').default;
- Workspace.openComponent({ key });
+ Workspace.openComponent({ key, branch: this.options.branch });
},
serializeData() {