Aggiornamento APP RISO:
✅ Inviando i RIS, deve comparire prima il Circuito della Provincia, e poi quello Nazionale ✅ Risolto problema per vecchie registrazioni, la provincia compariva "undefined".
This commit is contained in:
@@ -131,9 +131,9 @@ export default defineComponent({
|
||||
indstep: 0,
|
||||
step: STEP_CITY,
|
||||
title: t('tutorial.step_residence_title'),
|
||||
extratitle: function () { return ': ' + contact.value!.profile.resid_province },
|
||||
extratitle: function () { return ': ' + (contact.value!.profile.resid_province ? contact.value!.profile.resid_province : '') },
|
||||
label: t('tutorial.step_residence'),
|
||||
checkOk: function (): boolean { return contact.value ? contact.value.profile.resid_province !== '' && contact.value.profile.resid_province !== '0' : false },
|
||||
checkOk: function (): boolean { return contact.value ? !!contact.value!.profile.resid_province && contact.value.profile.resid_province !== '' && contact.value.profile.resid_province !== '0' : false },
|
||||
checkOkReal: function (): boolean { return this.checkOk() },
|
||||
icon: 'house',
|
||||
required: true,
|
||||
@@ -158,7 +158,7 @@ export default defineComponent({
|
||||
checkOk: function () {
|
||||
if (mycircuit.value) {
|
||||
return ((userStore.IsMyCircuitByName(mycircuit.value.name) ||
|
||||
userStore.IsAskedCircuitByName(mycircuit.value.name))) || userStore.my.profile.noCircuit
|
||||
userStore.IsAskedCircuitByName(mycircuit.value.name))) || (userStore.my.profile.noCircuit)
|
||||
}
|
||||
return false
|
||||
},
|
||||
@@ -199,6 +199,7 @@ export default defineComponent({
|
||||
])
|
||||
|
||||
const numindstep = computed(() => arrStep.value.length)
|
||||
|
||||
|
||||
watch(() => indstep.value, (newval: number, oldval: number) => {
|
||||
if (indstep.value >= 0)
|
||||
@@ -356,6 +357,8 @@ export default defineComponent({
|
||||
if (indstep.value > numindstep.value)
|
||||
indstep.value = numindstep.value
|
||||
|
||||
console.log('indstep.value', indstep.value)
|
||||
|
||||
// circuit.value = circuitStore.getCircuitByName(props.circuitname)
|
||||
|
||||
if (!userStore.my.profile.stepTutorial || userStore.my.profile.stepTutorial === 0) {
|
||||
|
||||
Reference in New Issue
Block a user