Commit f6cbbe1e by utkarshcmu

Redirect to home when switching orgs

parent 56622ee2
......@@ -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