From 9061d40c6ed6534a658351a1fb3bbf54204887b8 Mon Sep 17 00:00:00 2001 From: Rishabh Date: Wed, 16 Jun 2021 16:07:39 +0530 Subject: [PATCH] Fixed plan name to monthly/yearly by interval no refs - Reverts using hardcoded monthly/yearly plan name on Portal UI instead of using the price nickname --- ghost/portal/src/components/common/PlansSection.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ghost/portal/src/components/common/PlansSection.js b/ghost/portal/src/components/common/PlansSection.js index c8a0989c97..d315abd21a 100644 --- a/ghost/portal/src/components/common/PlansSection.js +++ b/ghost/portal/src/components/common/PlansSection.js @@ -398,6 +398,7 @@ function PlanOptions({plans, selectedPlan, onPlanSelect, changePlan}) { planDetails.feature = freePriceDescription || 'Free preview'; break; default: + displayName = interval === 'month' ? 'Monthly' : 'Yearly'; planDetails.feature = description || 'Full access'; break; }