forked from AkkomaGang/akkoma-fe
Drafts: Fix drafts erasing edits and redrafts
This commit is contained in:
parent
282a37ad6a
commit
9a8136e31c
|
@ -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: [],
|
||||
|
|
Loading…
Reference in a new issue