0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-08 02:52:39 -05:00

Removed usage of newsletterId in scheduled publishmenu

This commit is contained in:
Simon Backx 2022-05-10 12:16:38 +02:00
parent 95fa290fa8
commit 651f498f0b

View file

@ -27,7 +27,7 @@ export default class GhPublishmenuScheduledComponent extends Component {
}
get selectedNewsletter() {
return this.args.availableNewsletters.find(n => n.id === this.args.post.newsletterId);
return this.args.availableNewsletters.find(n => n.id === this.args.post.newsletter?.id);
}
constructor() {