From a76e4189d30da50f6198f427ed51d338d15419ec Mon Sep 17 00:00:00 2001 From: Muhsin Shah Date: Fri, 7 Apr 2023 14:58:47 +0530 Subject: [PATCH] fix: editor switch workspace issue --- frontend/src/AppLoader/AppLoader.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/AppLoader/AppLoader.jsx b/frontend/src/AppLoader/AppLoader.jsx index e1a534ddbc..016df6920a 100644 --- a/frontend/src/AppLoader/AppLoader.jsx +++ b/frontend/src/AppLoader/AppLoader.jsx @@ -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}`);