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

This commit is contained in:
Torkel Ödegaard 2016-03-22 10:16:01 +01:00
commit 7e6314dcac

View File

@ -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}/`;
});
};
}