Drafts: Fix drafts erasing edits and redrafts

This commit is contained in:
solidsanek 2023-04-09 11:02:13 +02:00 committed by eris
parent 282a37ad6a
commit 9a8136e31c

View file

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