fix posts being discarded when posting after preview request
This commit is contained in:
parent
8c87f9fcff
commit
c30d5f984a
2 changed files with 5 additions and 0 deletions
1
changelog.d/preview_posting.fix
Normal file
1
changelog.d/preview_posting.fix
Normal file
|
|
@ -0,0 +1 @@
|
|||
Fix posting not working when using preview
|
||||
|
|
@ -721,6 +721,10 @@ const PostStatusForm = {
|
|||
})
|
||||
.finally(() => {
|
||||
this.previewLoading = false
|
||||
// If we post right after doing a preview request
|
||||
// backend treats non-preview request as preview one
|
||||
// and "eats" the post
|
||||
this.updateIdempotencyKey()
|
||||
})
|
||||
},
|
||||
debouncePreviewStatus: debounce(function () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue