aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/coffee/issues/controller.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/coffee/issues/controller.coffee')
-rw-r--r--server/sonar-web/src/main/coffee/issues/controller.coffee4
1 files changed, 1 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/coffee/issues/controller.coffee b/server/sonar-web/src/main/coffee/issues/controller.coffee
index 6022dac9b9a..6d8d43b094f 100644
--- a/server/sonar-web/src/main/coffee/issues/controller.coffee
+++ b/server/sonar-web/src/main/coffee/issues/controller.coffee
@@ -202,9 +202,7 @@ define [
key.setScope 'componentViewer'
@options.app.issuesView.unbindScrollEvents()
@options.app.state.set 'component', @_prepareComponent(issue)
- @options.app.componentViewer = new ComponentViewer
- app: @options.app
- model: new ComponentViewerState()
+ @options.app.componentViewer = new ComponentViewer app: @options.app
@options.app.layout.workspaceComponentViewerRegion.show @options.app.componentViewer
@options.app.layout.showComponentViewer()
@options.app.componentViewer.openFileByIssue issue