feat: implement some TODOs

This commit is contained in:
2026-01-30 23:22:21 +01:00
parent 776783237b
commit 6e1a9a4728
6 changed files with 7 additions and 22 deletions

View File

@@ -96,15 +96,7 @@ export const useConfirmationModal = defineStore("confirmationModal", {
})
.call(() => {
const closedCallback = this.onClosed;
// TODO: this.$reset() ?
this.isVisible = false;
this.isClosing = false;
this.isOpen = false;
this.text = "";
this.onConfirm = null;
this.onClosed = null;
this.$reset();
closedCallback?.(choice);
});
},