From b0ac1e9afd3fa8a17c4633ee0c85f5cec317a27a Mon Sep 17 00:00:00 2001 From: Djordje Vlaisavljevic Date: Wed, 13 Dec 2023 16:42:40 +0000 Subject: [PATCH] Hid price preselect dropdown when only monthly or yearly are shown refs PROD-275 --- .../components/settings/membership/portal/SignupOptions.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/admin-x-settings/src/components/settings/membership/portal/SignupOptions.tsx b/apps/admin-x-settings/src/components/settings/membership/portal/SignupOptions.tsx index add10402c8..eb2e4faa37 100644 --- a/apps/admin-x-settings/src/components/settings/membership/portal/SignupOptions.tsx +++ b/apps/admin-x-settings/src/components/settings/membership/portal/SignupOptions.tsx @@ -156,9 +156,8 @@ const SignupOptions: React.FC<{ ]} title='Prices available at signup' /> - {hasPortalImprovements && + {(hasPortalImprovements && (portalPlans.includes('yearly') && portalPlans.includes('monthly'))) &&