- Versione 1.0.33

- Aggiornato le varie librerie package
This commit is contained in:
Surya Paolo
2024-03-23 00:21:39 +01:00
parent 44ee68f8c6
commit 9be104f605
36 changed files with 1698 additions and 1554 deletions

View File

@@ -47,15 +47,18 @@ export default defineComponent({
function clickToRegister() {
if (site.value.confpages.enableRegByBot) {
$router.push('/bot')
} else {
$router.push('/registrati')
}
//if (site.value.confpages.enableRegByBot) {
//$router.push('/bot')
//} else {
$router.push('/registrati/'+ tools.getInvitante())
//}
}
function mounted() {
const invitante = tools.getInvitante()
console.log('invitante', invitante)
if (props.invited) {
start.value = true
chooseReg.value = true
@@ -71,6 +74,19 @@ export default defineComponent({
}
}
function buttRegistrati() {
const invitante = tools.getCookie(tools.APORTADOR_SOLIDARIO)
if (invitante) {
start.value = true
slide.value = 'second';
noInvited.value = false;
chooseReg.value = true;
} else {
start.value = true
}
}
onMounted(mounted)
return {
@@ -82,6 +98,7 @@ export default defineComponent({
noInvited,
slide,
regEventEmail,
buttRegistrati,
}
},
})