mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-05 22:38:48 +00:00
fix: editor switch workspace issue
This commit is contained in:
parent
3d57e64d2c
commit
a76e4189d3
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ const AppLoaderComponent = (props) => {
|
|||
const sub_path = window?.public_config?.SUB_PATH ? stripTrailingSlash(window?.public_config?.SUB_PATH) : '';
|
||||
organizationService.switchOrganization(orgId).then(
|
||||
() => {
|
||||
window.location.href = `${sub_path}${path}`;
|
||||
window.location.href = `${sub_path}/${orgId}${path}`;
|
||||
},
|
||||
() => {
|
||||
return (window.location.href = `${sub_path}/login/${orgId}?redirectTo=${path}`);
|
||||
|
|
|
|||
Loading…
Reference in a new issue