Merge pull request #1264 from Safelite/feature/CSR-1573

CSR-1573
This commit is contained in:
CarlNation 2023-07-24 11:39:28 -04:00 committed by GitHub
commit 71c7d78772
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -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

View file

@ -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"