mirror of
https://github.com/grafana/grafana.git
synced 2025-02-15 10:03:33 -06:00
Merge pull request #4440 from utkarshcmu/redirect
Redirect to home when switching orgs
This commit is contained in:
commit
7f79024e6a
@ -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('/');
|
||||
});
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user