fix post status form "eating" posts
This commit is contained in:
parent
9a7afc5688
commit
15c5f9e4eb
1 changed files with 3 additions and 0 deletions
|
|
@ -690,6 +690,7 @@ const PostStatusForm = {
|
|||
.then((data) => {
|
||||
this.abandonDraft()
|
||||
this.clearStatus()
|
||||
this.updateIdempotencyKey()
|
||||
this.$emit('posted', data)
|
||||
})
|
||||
.catch((error) => {
|
||||
|
|
@ -1007,6 +1008,7 @@ const PostStatusForm = {
|
|||
this.saveable = false
|
||||
if (!this.shouldAutoSaveDraft) {
|
||||
this.clearStatus()
|
||||
this.updateIdempotencyKey()
|
||||
this.$emit('draft-done')
|
||||
}
|
||||
})
|
||||
|
|
@ -1016,6 +1018,7 @@ const PostStatusForm = {
|
|||
this.saveable = false
|
||||
if (!this.shouldAutoSaveDraft) {
|
||||
this.clearStatus()
|
||||
this.updateIdempotencyKey()
|
||||
this.$emit('draft-done')
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue