0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

🐛 Fixed inability to re-schedule a scheduled post

closes https://github.com/TryGhost/Team/issues/1112

- when the scheduled post publish menu component was converted to a glimmer component one of the properties in a conditional was missed when changing from `this.x` to `this.args.x` meaning that every time the menu was clicked the published at time was reset as if the save type was being changed
This commit is contained in:
Kevin Ansfield 2021-10-11 10:30:12 +01:00
parent 0932abcb6d
commit 717eb762f6

View file

@ -33,7 +33,7 @@ export default class GhPublishmenuScheduledComponent extends Component {
@action
setSaveType(type) {
if (this.saveType !== type) {
if (this.args.saveType !== type) {
this.minDate = new Date();
this.args.setSaveType(type);