1
0

chore: add comments

This commit is contained in:
Marie
2024-10-02 17:26:23 +02:00
parent 1a6c4e3714
commit 321e7daab5
@@ -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);
}