don't clear status on autosave
This commit is contained in:
parent
1eb96182bb
commit
45d1a94153
1 changed files with 3 additions and 3 deletions
|
@ -768,8 +768,8 @@ const PostStatusForm = {
|
|||
this.newStatus.id = id
|
||||
}
|
||||
this.saveable = false
|
||||
this.clearStatus()
|
||||
if (!this.shouldAutoSaveDraft) {
|
||||
this.clearStatus()
|
||||
this.$emit('draft-done')
|
||||
}
|
||||
})
|
||||
|
@ -778,8 +778,8 @@ const PostStatusForm = {
|
|||
return this.abandonDraft()
|
||||
.then(() => {
|
||||
this.saveable = false
|
||||
this.clearStatus()
|
||||
if (!this.shouldAutoSaveDraft) {
|
||||
this.clearStatus()
|
||||
this.$emit('draft-done')
|
||||
}
|
||||
})
|
||||
|
@ -789,7 +789,7 @@ const PostStatusForm = {
|
|||
},
|
||||
maybeAutoSaveDraft () {
|
||||
if (this.shouldAutoSaveDraft) {
|
||||
this.saveDraft()
|
||||
this.saveDraft(false)
|
||||
}
|
||||
},
|
||||
abandonDraft () {
|
||||
|
|
Loading…
Add table
Reference in a new issue