Drafts: Fix drafts erasing edits and redrafts
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful

This commit is contained in:
solidsanek 2023-04-09 11:02:13 +02:00
parent 14cedc5ed1
commit db33fe8ee2

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