aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/workspace
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2018-03-12 12:06:11 +0100
committerTeryk Bellahsene <teryk@users.noreply.github.com>2018-03-13 14:05:36 +0100
commit913c82c8772fd4747626a1fbe665ccda2e5ca9f1 (patch)
treed48784851df80905ce125cc60ac8aec8570751a9 /server/sonar-web/src/main/js/components/workspace
parent751e4000e40a4af66b80767d632b1bef64dc5647 (diff)
downloadsonarqube-913c82c8772fd4747626a1fbe665ccda2e5ca9f1.tar.gz
sonarqube-913c82c8772fd4747626a1fbe665ccda2e5ca9f1.zip
SONAR-10374 Support pull request in the web app
Diffstat (limited to 'server/sonar-web/src/main/js/components/workspace')
-rw-r--r--server/sonar-web/src/main/js/components/workspace/views/viewer-view.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/components/workspace/views/viewer-view.js b/server/sonar-web/src/main/js/components/workspace/views/viewer-view.js
index 531db332616..eafcac4460e 100644
--- a/server/sonar-web/src/main/js/components/workspace/views/viewer-view.js
+++ b/server/sonar-web/src/main/js/components/workspace/views/viewer-view.js
@@ -49,7 +49,7 @@ export default BaseView.extend({
},
showViewer() {
- const { branch, key, line } = this.model.toJSON();
+ const { branchLike, key, line } = this.model.toJSON();
const el = document.querySelector(this.viewerRegion.el);
@@ -57,7 +57,7 @@ export default BaseView.extend({
<WithStore>
<SourceViewer
aroundLine={line}
- branch={branch}
+ branchLike={branchLike}
component={key}
fromWorkspace={true}
highlightedLine={line}