mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 14:43:08 +03:00
Added auto save to newsletters toggle
refs https://github.com/TryGhost/Team/issues/1639 - When enabling/disabling newsletters, the change is saved automatically
This commit is contained in:
parent
1dc3026aba
commit
fdece55480
@ -85,6 +85,11 @@ export default class Newsletters extends Component {
|
||||
}
|
||||
|
||||
this.recipientsSelectValue = this._getDerivedRecipientsSelectValue();
|
||||
|
||||
// Force a save when the toggle is changed
|
||||
// this is required
|
||||
// eslint-disable-next-line no-console
|
||||
this.settings.save().catch(console.error);
|
||||
}
|
||||
|
||||
@action
|
||||
|
Loading…
Reference in New Issue
Block a user