From 127a47ef413abd8724ce35e362c73041483c833e Mon Sep 17 00:00:00 2001 From: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com> Date: Mon, 9 Jan 2023 15:06:54 +0530 Subject: [PATCH] Fixes redirection while switching the workspace (#5259) --- frontend/src/_components/OrganizationManager/List.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/_components/OrganizationManager/List.jsx b/frontend/src/_components/OrganizationManager/List.jsx index 6ddaa544ed..ce8f43d9a0 100644 --- a/frontend/src/_components/OrganizationManager/List.jsx +++ b/frontend/src/_components/OrganizationManager/List.jsx @@ -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}`);