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

Reviewed-on: #297
This commit is contained in:
floatingghost 2023-04-14 16:30:55 +00:00
commit ddea499a36
1 changed files with 25 additions and 23 deletions

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: [],