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:
@@ -1221,6 +1221,7 @@ onMounted(() => {
|
||||
scheduledAt: new Date(init.createdAt).getTime(),
|
||||
};
|
||||
}
|
||||
saveDraft();
|
||||
}
|
||||
|
||||
nextTick(() => watchForDraft());
|
||||
|
||||
Reference in New Issue
Block a user