From: Stas Vilchik Date: Mon, 30 Jun 2014 06:37:06 +0000 (+0600) Subject: SONAR-5209 Fix the scm decorator X-Git-Tag: 4.4-RC1~108 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5126d0f588947cf7ee529a7c5ecf6f682c9895fa;p=sonarqube.git SONAR-5209 Fix the scm decorator --- diff --git a/sonar-server/src/main/coffee/component-viewer/main.coffee b/sonar-server/src/main/coffee/component-viewer/main.coffee index 19148f0032a..a8db19334cb 100644 --- a/sonar-server/src/main/coffee/component-viewer/main.coffee +++ b/sonar-server/src/main/coffee/component-viewer/main.coffee @@ -83,6 +83,7 @@ define [ if options.settings? options.settings = JSON.parse(options.settings) if typeof options.settings == 'string' @settings.set options.settings + @settings.set 'scm', !!localStorage.getItem('componentViewerSCM') @shouldStoreSettings = options.shouldStoreSettings @state = new State() @@ -108,11 +109,10 @@ define [ getDefaultSettings: -> - scm = !!localStorage.getItem('componentViewerSCM') issues: false coverage: false duplications: false - scm: scm + scm: false workspace: false