From c6adedefb5eb4c9e432a7196e75c97c9505690cc Mon Sep 17 00:00:00 2001 From: Xiao Yijun Date: Thu, 18 Apr 2024 16:15:05 +0800 Subject: [PATCH] fix(console): always display create org button (#5746) --- packages/console/src/pages/Organizations/index.tsx | 2 +- .../src/tests/console/organizations.test.ts | 13 ++++++------- .../src/ui-helpers/expect-organizations.ts | 4 ++-- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/packages/console/src/pages/Organizations/index.tsx b/packages/console/src/pages/Organizations/index.tsx index fe18342b0..8b9a002af 100644 --- a/packages/console/src/pages/Organizations/index.tsx +++ b/packages/console/src/pages/Organizations/index.tsx @@ -81,7 +81,7 @@ function Organizations({ tab }: Props) { targetBlank: 'noopener', }} /> - {!isInitialSetup && ( + {(!isInitialSetup || isDevFeaturesEnabled) && (