diff --git a/ghost/admin/app/controllers/settings/membership.js b/ghost/admin/app/controllers/settings/membership.js index 9c6728d632..5e95217c7f 100644 --- a/ghost/admin/app/controllers/settings/membership.js +++ b/ghost/admin/app/controllers/settings/membership.js @@ -62,10 +62,10 @@ export default class MembersAccessController extends Controller { const monthlyPrice = this.getPrice(activePrices, 'monthly'); const yearlyPrice = this.getPrice(activePrices, 'yearly'); - if (monthlyPrice?.amount && this.stripeMonthlyAmount !== (monthlyPrice.amount / 100)) { + if (monthlyPrice?.amount && parseInt(this.stripeMonthlyAmount) !== (monthlyPrice.amount / 100)) { return true; } - if (yearlyPrice?.amount && this.stripeYearlyAmount !== (yearlyPrice.amount / 100)) { + if (yearlyPrice?.amount && parseInt(this.stripeYearlyAmount) !== (yearlyPrice.amount / 100)) { return true; } }