From 4b3e1842aaef800d9346c6ece617e678a95dae5d Mon Sep 17 00:00:00 2001 From: Bikash Date: Fri, 22 Dec 2023 18:58:14 +0530 Subject: [PATCH] Fixed wrong url redirection on cluster delete --- .../routes/_.$account.$cluster.settings.general/route.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/console/routes/_.$account.$cluster.settings.general/route.tsx b/src/apps/console/routes/_.$account.$cluster.settings.general/route.tsx index 8710c546d..9e0e7b320 100644 --- a/src/apps/console/routes/_.$account.$cluster.settings.general/route.tsx +++ b/src/apps/console/routes/_.$account.$cluster.settings.general/route.tsx @@ -274,7 +274,7 @@ const SettingGeneral = () => { reload(); toast.success(`Cluster deleted successfully`); setDeleteCluster(false); - navigate(`/${account}/clusters`); + navigate(`/${parseName(account)}/clusters`); } catch (err) { handleError(err); }