chore: add comments
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue