Commit 7f79024e by Carl Bergquist

Merge pull request #4440 from utkarshcmu/redirect

Redirect to home when switching orgs
parents 56622ee2 f6cbbe1e
......@@ -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('/');
});
};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment