From 5126d0f588947cf7ee529a7c5ecf6f682c9895fa Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Mon, 30 Jun 2014 12:37:06 +0600 Subject: [PATCH] SONAR-5209 Fix the scm decorator --- sonar-server/src/main/coffee/component-viewer/main.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5