0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00

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
This commit is contained in:
Rishabh 2021-06-16 16:07:39 +05:30
parent 9acb194214
commit 9061d40c6e

View file

@ -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;
}