Ver Fonte

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

Torkel Ödegaard há 9 anos atrás
pai
commit
7e6314dcac
1 ficheiros alterados com 1 adições e 2 exclusões
  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}/`;
    });
  };
 }