mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
Added membersEnabled config to lexical editor
refs https://github.com/TryGhost/Team/issues/3456 - adds a boolean config whether members signup is enabled so that we can hide the signup card option from the editor if it's not enabled.
This commit is contained in:
parent
27a9cdb67b
commit
c0e638fecd
@ -274,6 +274,7 @@ export default class KoenigLexicalEditor extends Component {
|
||||
feature: {
|
||||
signupCard: this.feature.get('signupCard')
|
||||
},
|
||||
membersEnabled: this.settings.get('membersSignupAccess') === 'all',
|
||||
siteTitle: this.settings.title,
|
||||
siteDescription: this.settings.description
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user