aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/workspace
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2017-09-04 17:17:54 +0200
committerStas Vilchik <stas.vilchik@sonarsource.com>2017-09-13 13:53:58 +0200
commit461fec153ad26a154a053028aa8ef5739b469f90 (patch)
tree291351e4f0b9c92e381f063415be81812aa07a8e /server/sonar-web/src/main/js/components/workspace
parent784fd2e3641f3abce5d35ba937e88bef05416884 (diff)
downloadsonarqube-461fec153ad26a154a053028aa8ef5739b469f90.tar.gz
sonarqube-461fec153ad26a154a053028aa8ef5739b469f90.zip
fix scrolling in workspace
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.js1
1 files changed, 1 insertions, 0 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 80c2f55df10..4dae060ec9f 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
@@ -56,6 +56,7 @@ export default BaseView.extend({
render(
<WithStore>
<SourceViewer
+ aroundLine={line}
branch={branch}
component={key}
fromWorkspace={true}