forked from AkkomaGang/akkoma-fe
Merge pull request 'Fix edits and redrafts being erased by drafts' (#297) from solidsanek/pleroma-fe:drafts-edit-redraft-fix into develop
Reviewed-on: AkkomaGang/akkoma-fe#297
This commit is contained in:
commit
ddea499a36
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