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

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);
}