- fix: "Circuito RIS {nomecircuito}" uniformati tutti quanti.
- fix Strette di mano dicitura. - poter vedere e cliccare sul gruppo telegram della provincia (dalla lista dei circuiti).
This commit is contained in:
@@ -112,7 +112,7 @@ export default defineComponent({
|
||||
if (!globalStore.isPresenteCardsByProv(strProv.value)) {
|
||||
if (contact.value && contact.value.profile.resid_card) {
|
||||
contact.value.profile.resid_card = ''
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
@@ -133,7 +133,7 @@ export default defineComponent({
|
||||
title: t('tutorial.step_residence_title'),
|
||||
extratitle: function () { return ': ' + contact.value!.profile.resid_province },
|
||||
label: t('tutorial.step_residence'),
|
||||
checkOk: function (): boolean { return contact.value ? contact.value.profile.resid_province !== '' : false },
|
||||
checkOk: function (): boolean { return contact.value ? contact.value.profile.resid_province !== '' && contact.value.profile.resid_province !== '0' : false },
|
||||
checkOkReal: function (): boolean { return this.checkOk() },
|
||||
icon: 'house',
|
||||
required: true,
|
||||
@@ -297,6 +297,8 @@ export default defineComponent({
|
||||
for (const mystep of arrStep.value) {
|
||||
if (mystep.checkOk())
|
||||
num++
|
||||
else
|
||||
break
|
||||
}
|
||||
return num
|
||||
})
|
||||
@@ -336,6 +338,10 @@ export default defineComponent({
|
||||
username.value = props.mycontact.username
|
||||
}
|
||||
}
|
||||
if (contact.value && contact.value.profile && contact.value.profile.resid_province === '0') {
|
||||
contact.value.profile.resid_province = ''
|
||||
}
|
||||
|
||||
mylistcircuits.value = circuitStore.getCircuitsNameByProvince(strProv.value)
|
||||
|
||||
mycircuit.value = circuitStore.getCircuitByProvinceAndCard(strProv.value, card.value)
|
||||
@@ -410,7 +416,7 @@ export default defineComponent({
|
||||
function getindstepByStep(step: number) {
|
||||
for (let indstep = 0; indstep < arrStep.value.length; indstep++) {
|
||||
if (arrStep.value[indstep].step === step)
|
||||
return indstep
|
||||
return indstep
|
||||
}
|
||||
return -1
|
||||
}
|
||||
@@ -572,6 +578,7 @@ export default defineComponent({
|
||||
userstoverify,
|
||||
numStepCompleted,
|
||||
globalStore,
|
||||
prStep,
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user