feat: implement some TODOs
This commit is contained in:
@@ -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);
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user