Procházet zdrojové kódy

default sidemenu to open #54

Anthony Woods před 10 roky
rodič
revize
7a8851c5ab
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      public/app/services/contextSrv.js

+ 1 - 1
public/app/services/contextSrv.js

@@ -45,7 +45,7 @@ function (angular, _, store, config) {
     this.user = new User();
     this.isSignedIn = this.user.isSignedIn;
     this.isGrafanaAdmin = this.user.isGrafanaAdmin;
-    this.sidemenu = store.getBool('grafana.sidemenu');
+    this.sidemenu = store.getBool('grafana.sidemenu', true);
     this.isEditor = this.hasRole('Editor') || this.hasRole('Admin');
   });
 });