mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-06 12:06:58 +00:00
save draft early when doing "delete&edit" - fixes #638
when the posting form gets shown, the original note is already gone, and without this change, the note only exists in local variables now, we save the draft as soon as the form is shown, so clicking on the "post" (or reply, or quote) button will get you a form with the draft data
This commit is contained in:
parent
121f555fca
commit
07ff6a890b
1 changed files with 1 additions and 0 deletions
|
@ -1221,6 +1221,7 @@ onMounted(() => {
|
|||
scheduledAt: new Date(init.createdAt).getTime(),
|
||||
};
|
||||
}
|
||||
saveDraft();
|
||||
}
|
||||
|
||||
nextTick(() => watchForDraft());
|
||||
|
|
Loading…
Add table
Reference in a new issue