From db4449d849f2ca0902620dd5e52b89c79ccdc53e Mon Sep 17 00:00:00 2001 From: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com> Date: Mon, 3 Apr 2023 14:34:53 +0200 Subject: [PATCH] fix double new button (#8058) Co-authored-by: CarinaWolli --- packages/features/ee/workflows/pages/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/features/ee/workflows/pages/index.tsx b/packages/features/ee/workflows/pages/index.tsx index c53177e8ad..63ca6ac9d4 100644 --- a/packages/features/ee/workflows/pages/index.tsx +++ b/packages/features/ee/workflows/pages/index.tsx @@ -118,7 +118,7 @@ function WorkflowsPage() { ) : ( <> {query?.data?.profiles && - query?.data?.profiles.length && + query?.data?.profiles.length > 1 && allWorkflowsData?.workflows && allWorkflowsData.workflows.length && profileOptions ? (