mirror of
https://akkoma.dev/AkkomaGang/akkoma-fe.git
synced 2024-11-09 18:19:10 +00:00
Drafts: Fix drafts erasing edits and redrafts
This commit is contained in:
parent
14cedc5ed1
commit
db33fe8ee2
1 changed files with 25 additions and 23 deletions
|
@ -169,6 +169,7 @@ const PostStatusForm = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!this.statusId) {
|
||||||
let draftKey = 'status';
|
let draftKey = 'status';
|
||||||
if (this.replyTo) {
|
if (this.replyTo) {
|
||||||
draftKey = 'reply:' + this.replyTo;
|
draftKey = 'reply:' + this.replyTo;
|
||||||
|
@ -196,6 +197,7 @@ const PostStatusForm = {
|
||||||
this.togglePollForm();
|
this.togglePollForm();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
dropFiles: [],
|
dropFiles: [],
|
||||||
|
|
Loading…
Reference in a new issue