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:
parent
0932abcb6d
commit
717eb762f6
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue