mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-22 11:25:13 +00:00
chore: add comments
This commit is contained in:
parent
1a6c4e3714
commit
321e7daab5
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue