Merge pull request 'Fix edits and redrafts being erased by drafts' (#297) from solidsanek/pleroma-fe:drafts-edit-redraft-fix into develop

Reviewed-on: AkkomaGang/akkoma-fe#297
This commit is contained in:
floatingghost 2023-04-14 16:30:55 +00:00
commit ddea499a36

View file

@ -169,6 +169,7 @@ const PostStatusForm = {
}
}
if (!this.statusId) {
let draftKey = 'status';
if (this.replyTo) {
draftKey = 'reply:' + this.replyTo;
@ -196,6 +197,7 @@ const PostStatusForm = {
this.togglePollForm();
}
}
}
return {
dropFiles: [],