We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73a5be6 commit 50b3a06Copy full SHA for 50b3a06
1 file changed
adminforth/spa/src/afcl/Modal.vue
@@ -101,10 +101,8 @@ async function open() {
101
102
async function close() {
103
if (props.beforeCloseFunction) {
104
- console.log('Running before close function');
105
- const isContinue = await props.beforeCloseFunction?.();
106
- console.log('Before close function completed, isContinue:', isContinue);
107
- if (isContinue === false) {
+ const shouldClose = await props.beforeCloseFunction?.();
+ if (shouldClose === false) {
108
return;
109
}
110
0 commit comments