commit
71c7d78772
2 changed files with 4 additions and 2 deletions
|
|
@ -360,7 +360,7 @@ export default {
|
|||
}
|
||||
}
|
||||
// If vin already exists, navigate directly to vin-lookup
|
||||
else if (store.getters.vehicle.vin && store.getters.vehicle.vin.length === 17) {
|
||||
else if (store.getters.vehicle.vin) {
|
||||
this.$router.navigateWithSaving(
|
||||
this.navigationScenarios.CLICKED_FORWARD_WITH_VIN,
|
||||
this.$route
|
||||
|
|
|
|||
|
|
@ -15,7 +15,9 @@
|
|||
v-model="vin"
|
||||
customInputId="vin"
|
||||
isRequired
|
||||
validationRules="vin-required|vin-format"
|
||||
:validationRules="
|
||||
!vinPopulatedOnPageLoad ? 'vin-required|vin-format' : ''
|
||||
"
|
||||
:isDisabled="vinPopulatedOnPageLoad"
|
||||
maxLength="17"
|
||||
:mask="vinMask"
|
||||
|
|
|
|||
Loading…
Reference in a new issue