- Provincia obbligatoria, chiedo conferma se non vuole entrare nel circuito.
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
color="primary"
|
||||
animated
|
||||
vertical
|
||||
header-nav
|
||||
:header-nav="!!contact.profile.resid_province"
|
||||
>
|
||||
<q-step
|
||||
v-for="(recstep, index) in arrStep"
|
||||
@@ -57,7 +57,7 @@
|
||||
:title="recstep.title + recstep.extratitle()"
|
||||
:icon="recstep.icon"
|
||||
:done="recstep.checkOk()"
|
||||
done-color="positive"
|
||||
:done-color="getColorDone(recstep.step)"
|
||||
>
|
||||
<div
|
||||
v-if="recstep.checkOk() && recstep.label_ok"
|
||||
@@ -164,16 +164,18 @@
|
||||
class="q-ml-sm"
|
||||
/>
|
||||
<q-btn
|
||||
@click="
|
||||
step === numstep
|
||||
:flat="isSalta()"
|
||||
:disabled="isNextDisable()"
|
||||
@click="(step === STEP_CIRCUIT && isSalta()) ? askToConfirmSkip() :
|
||||
(step === numstep
|
||||
? clickFinish()
|
||||
: $refs.stepper.next()
|
||||
: $refs.stepper.next())
|
||||
"
|
||||
:color="(step === STEP_CIRCUIT && mycircuit && ((!userStore.IsMyCircuitByName(mycircuit.name) && !userStore.IsAskedCircuitByName(mycircuit.name)))) ? 'negative' : 'primary'"
|
||||
:color="isSalta() ? 'negative' : 'primary'"
|
||||
:label="
|
||||
step === numstep
|
||||
? $t('dialog.finish')
|
||||
: (step === STEP_CIRCUIT && mycircuit && ((!userStore.IsMyCircuitByName(mycircuit.name) && !userStore.IsAskedCircuitByName(mycircuit.name))) ? $t('dialog.salta'): $t('dialog.avanti'))
|
||||
: (isSalta() ? $t('dialog.salta'): $t('dialog.avanti'))
|
||||
"
|
||||
/>
|
||||
</q-stepper-navigation>
|
||||
|
||||
Reference in New Issue
Block a user