Merge pull request 'fix posts being discarded when posting after preview request' (#3565) from fix-posting into develop

Reviewed-on: https://git.pleroma.social/pleroma/pleroma-fe/pulls/3565
This commit is contained in:
HJ 2026-08-27 14:06:58 +00:00
commit 7e8f63c714
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 () {