Redirect to home when switching orgs
@@ -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('/');
});
};
}