From 6b5810519d1c63ed9814dc3d297a8be83fac7ba6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucien=20Akchot=C3=A9?= Date: Fri, 23 Feb 2024 18:39:28 +0100 Subject: [PATCH] add policy admin check for not found page --- src/pages/workspace/workflows/WorkspaceWorkflowsPage.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pages/workspace/workflows/WorkspaceWorkflowsPage.tsx b/src/pages/workspace/workflows/WorkspaceWorkflowsPage.tsx index 1f7d4e1c5f75..9160d5a6ad3a 100644 --- a/src/pages/workspace/workflows/WorkspaceWorkflowsPage.tsx +++ b/src/pages/workspace/workflows/WorkspaceWorkflowsPage.tsx @@ -127,7 +127,8 @@ function WorkspaceWorkflowsPage({policy, route}: WorkspaceWorkflowsPageProps) { ); const isPaidGroupPolicy = PolicyUtils.isPaidGroupPolicy(policy); - + const isPolicyAdmin = PolicyUtils.isPolicyAdmin(policy); + return (