mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-25 02:31:59 -05: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
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue