From 2f63f680e8fb6ec00b81da194eeddc9f93955617 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89mile=20R=C3=A9?= Date: Fri, 14 Mar 2025 10:49:21 +0400 Subject: [PATCH] Fix cancel navigation on control creation page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Émile Ré --- apps/console/src/pages/CreateControlPage.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/console/src/pages/CreateControlPage.tsx b/apps/console/src/pages/CreateControlPage.tsx index 4d468455f..d74c647a2 100644 --- a/apps/console/src/pages/CreateControlPage.tsx +++ b/apps/console/src/pages/CreateControlPage.tsx @@ -246,9 +246,7 @@ function CreateControlPageContent() { variant="outline" onClick={() => navigate( - `/organizations/${ - frameworkId?.split(":")[1] - }/frameworks/${frameworkId}` + `/organizations/${organizationId}/frameworks/${frameworkId}` ) } >