mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 17:08:34 +00:00
Fixes redirection while switching the workspace (#5259)
This commit is contained in:
parent
8075b9f957
commit
127a47ef41
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ export const OrganizationList = function () {
|
|||
organizationService.switchOrganization(orgId).then(
|
||||
(data) => {
|
||||
authenticationService.updateCurrentUserDetails(data);
|
||||
window.location.href = '';
|
||||
window.location.reload();
|
||||
},
|
||||
() => {
|
||||
return (window.location.href = `login/${orgId}`);
|
||||
|
|
|
|||
Loading…
Reference in a new issue