diff --git a/ghost/admin/app/components/koenig-lexical-editor.js b/ghost/admin/app/components/koenig-lexical-editor.js index f4df027de2..7963ad19b0 100644 --- a/ghost/admin/app/components/koenig-lexical-editor.js +++ b/ghost/admin/app/components/koenig-lexical-editor.js @@ -264,8 +264,9 @@ export default class KoenigLexicalEditor extends Component { }); const memberLinks = () => { + let links = []; if (this.membersUtils.paidMembersEnabled) { - return [ + links = [ { label: 'Paid signup', value: this.config.getSiteUrl('/#/portal/signup') @@ -275,6 +276,8 @@ export default class KoenigLexicalEditor extends Component { value: this.config.getSiteUrl('/#/portal/account/plans') }]; } + + return links; }; return [...defaults, ...offersLinks, ...memberLinks()]; };