Open source personal finance application
fix: use @after:leave instead of @update:open for ConfirmModal cleanup
Ilya Komicheva22a22a6c02f
diff --git a/app/components/layout/ConfirmModal.vue b/app/components/layout/ConfirmModal.vueindex 17624f20..9702ca9a 100644--- a/app/components/layout/ConfirmModal.vue+++ b/app/components/layout/ConfirmModal.vue@@ -39,7 +39,7 @@ useEventListener('keydown', (e: KeyboardEvent) => {v-model:open="isOpen":title="props.title || t('base.sure')":ui="{ content: 'max-w-sm', footer: 'justify-between' }"- @update:open="(val: boolean) => { if (!val) onClosed() }"+ @after:leave="onClosed"><template v-if="description || highlight" #body><div class="text-muted">