Hid price preselect dropdown when only monthly or yearly are shown
refs PROD-275
This commit is contained in:
parent
02e04f06b9
commit
b0ac1e9afd
@ -156,9 +156,8 @@ const SignupOptions: React.FC<{
|
||||
]}
|
||||
title='Prices available at signup'
|
||||
/>
|
||||
{hasPortalImprovements &&
|
||||
{(hasPortalImprovements && (portalPlans.includes('yearly') && portalPlans.includes('monthly'))) &&
|
||||
<Select
|
||||
disabled={(portalPlans.includes('yearly') && portalPlans.includes('monthly')) ? false : true}
|
||||
options={defaultPlanOptions}
|
||||
selectedOption={defaultPlanOptions.find(option => option.value === portalDefaultPlan)}
|
||||
title='Price preselected at signup'
|
||||
|
Loading…
Reference in New Issue
Block a user