From f3a861379acec3edf8ec0776ea283b193aed2325 Mon Sep 17 00:00:00 2001 From: Rishabh Date: Mon, 18 Oct 2021 23:57:26 +0530 Subject: [PATCH] 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 --- ghost/portal/src/components/common/ProductsSection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost/portal/src/components/common/ProductsSection.js b/ghost/portal/src/components/common/ProductsSection.js index 2b29b19d2f..b57c6aaa9e 100644 --- a/ghost/portal/src/components/common/ProductsSection.js +++ b/ghost/portal/src/components/common/ProductsSection.js @@ -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'; }