mirror of
https://github.com/TryGhost/Ghost.git
synced 2023-12-13 21:00:40 +01:00
Hid price preselect dropdown when only monthly or yearly are shown
refs PROD-275
This commit is contained in:
parent
02e04f06b9
commit
b0ac1e9afd
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue