mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Fixed the ability to return to the main post page after scheduling a post in lexical (#16970)
refs TryGhost/Team#3405 - BackgroundSave option sets post status as Draft. Don't need such behaviour as a post already can have a different status when a user leaves the page.
This commit is contained in:
parent
cacd54b8c6
commit
4f1a92fb17
1 changed files with 1 additions and 1 deletions
|
@ -937,7 +937,7 @@ export default class LexicalEditorController extends Controller {
|
|||
this.cancelAutosave();
|
||||
this.autosaveTask.cancelAll();
|
||||
}
|
||||
await this.autosaveTask.perform({leavingEditor: true});
|
||||
await this.autosaveTask.perform({leavingEditor: true, backgroundSave: false});
|
||||
return transition.retry();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue