diff --git a/ghost/portal/src/components/pages/AccountPlanPage.js b/ghost/portal/src/components/pages/AccountPlanPage.js index ee5317c55f..9549e46793 100644 --- a/ghost/portal/src/components/pages/AccountPlanPage.js +++ b/ghost/portal/src/components/pages/AccountPlanPage.js @@ -90,8 +90,11 @@ export default class AccountPlanPage extends React.Component { const {member} = this.context; const {plans} = this.context.site; this.plans = this.getPlansData({plans}); - const activePlan = this.getActivePlanName({member}) || this.plans[0].name; - + let activePlan = this.getActivePlanName({member}) || this.plans[0].name; + const activePlanExists = this.plans.some(d => d.name === activePlan); + if (!activePlanExists) { + activePlan = this.plans[0].name; + } this.state = { plan: activePlan };