- Versione 1.0.33
- Aggiornato le varie librerie package
This commit is contained in:
@@ -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,
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user