Commit 4110c7ff by bergquist

fix(switchorg): fixes broken redirect when switchin org

parent 7f79024e
......@@ -86,8 +86,7 @@ export class SideMenuCtrl {
switchOrg(orgId) {
this.backendSrv.post('/api/user/using/' + orgId).then(() => {
window.location.href = window.location.href;
this.$location.path('/');
window.location.href = `${config.appSubUrl}/`;
});
};
}
......
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