Przeglądaj źródła

Merge branch 'master' of github.com:grafana/grafana

Torkel Ödegaard 10 lat temu
rodzic
commit
7e6314dcac
1 zmienionych plików z 1 dodań i 2 usunięć
  1. 1 2
      public/app/core/components/sidemenu/sidemenu.ts

+ 1 - 2
public/app/core/components/sidemenu/sidemenu.ts

@@ -86,8 +86,7 @@ export class SideMenuCtrl {
 
  switchOrg(orgId) {
    this.backendSrv.post('/api/user/using/' + orgId).then(() => {
-     window.location.href = window.location.href;
-     this.$location.path('/');
+     window.location.href = `${config.appSubUrl}/`;
    });
  };
 }