fix posts being discarded when posting after preview request

This commit is contained in:
Henry Jameson 2026-08-27 14:57:23 +03:00
commit c30d5f984a
2 changed files with 5 additions and 0 deletions

View file

@ -0,0 +1 @@
Fix posting not working when using preview

View file

@ -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 () {