Merge pull request #4440 from utkarshcmu/redirect

Redirect to home when switching orgs
This commit is contained in:
Carl Bergquist 2016-03-22 08:28:39 +01:00
commit 7f79024e6a

View File

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