diff options
-rw-r--r-- | sonar-server/src/main/coffee/component-viewer/main.coffee | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sonar-server/src/main/coffee/component-viewer/main.coffee b/sonar-server/src/main/coffee/component-viewer/main.coffee index c231570efd1..4d55a066ebb 100644 --- a/sonar-server/src/main/coffee/component-viewer/main.coffee +++ b/sonar-server/src/main/coffee/component-viewer/main.coffee @@ -128,7 +128,7 @@ define [ @render() - showIssues: (issues, scrollToFirst) -> + showIssues: (issues) -> @settings.set 'issues', true if _.isArray(issues) && issues.length > 0 @source.set 'issues', issues @@ -144,12 +144,5 @@ define [ if optionsForCurrent? last = @workspace.at(@workspace.length - 1) last.set 'options', optionsForCurrent if last - -# workspaceItem = @workspace.findWhere key: key -# if workspaceItem? -# @workspace.remove workspaceItem -# @workspace.add workspaceItem -# else @workspace.add key: key, transition: transition, options: options - @_open key
\ No newline at end of file |