chore: add comments

This commit is contained in:
Marie 2024-10-02 17:26:23 +02:00
parent 1a6c4e3714
commit 321e7daab5
No known key found for this signature in database
GPG Key ID: 7ADF6C9CD9A28555
1 changed files with 2 additions and 0 deletions

View File

@ -51,7 +51,9 @@ function onPosted() {
}
function onCancel() {
// for some reason onModalClosed does not get called properly when closing the model through other functions.
modal.value?.close();
// emit is required so that the dialog gets properly disposed otherwise it will float around as a "zombie"
emit('closed', true);
}