File tree Expand file tree Collapse file tree 1 file changed +1
-18
lines changed
web/components/Activation Expand file tree Collapse file tree 1 file changed +1
-18
lines changed Original file line number Diff line number Diff line change 11<script setup lang="ts">
2- import { computed , ref , onMounted } from ' vue' ;
2+ import { computed , ref } from ' vue' ;
33import { useI18n } from ' vue-i18n' ;
44import { storeToRefs } from ' pinia' ;
55
@@ -49,35 +49,18 @@ const showModal = ref(isLoginPage.value || isInitialSetup.value);
4949// Template ref for the teleport container
5050const modalContainer = ref <HTMLElement >();
5151
52- console .log (' WelcomeModal setup:' , {
53- showModal: showModal .value ,
54- isLoginPage: isLoginPage .value ,
55- isInitialSetup: isInitialSetup .value ,
56- pathname: window .location .pathname
57- });
58-
5952const dropdownHide = () => {
60- console .log (' WelcomeModal: dropdownHide called' );
6153 showModal .value = false ;
6254};
6355
6456const showWelcomeModal = () => {
65- console .log (' WelcomeModal: showWelcomeModal called' );
6657 showModal .value = true ;
6758};
6859
6960defineExpose ({
7061 showWelcomeModal ,
7162});
7263
73- // Check if the container exists after mount
74- onMounted (() => {
75- console .log (' WelcomeModal onMounted - checking container:' , {
76- modalContainerRef: modalContainer .value ,
77- showModal: showModal .value
78- });
79- });
80-
8164 </script >
8265
8366<template >
You can’t perform that action at this time.
0 commit comments