0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

Updated default cadence to yearly for signups

closes https://github.com/TryGhost/Team/issues/1143

The most common pattern for signup pages when monthly and yearly plans are available is to have "yearly" as a default. Portal had default as monthly earlier, and is now changed to yearly
This commit is contained in:
Rishabh 2021-10-18 23:57:26 +05:30
parent c100e18f05
commit f3a861379a

View file

@ -756,7 +756,7 @@ function getSelectedPrice({products, selectedProduct, selectedInterval}) {
return selectedPrice;
}
function getActiveInterval({portalPlans, selectedInterval = 'month'}) {
function getActiveInterval({portalPlans, selectedInterval = 'year'}) {
if (selectedInterval === 'month' && portalPlans.includes('monthly')) {
return 'month';
}