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