diff --git a/src/layouts/license-plate-lookup/license-plate-lookup.vue b/src/layouts/license-plate-lookup/license-plate-lookup.vue index d0007d52..4b8e7e29 100644 --- a/src/layouts/license-plate-lookup/license-plate-lookup.vue +++ b/src/layouts/license-plate-lookup/license-plate-lookup.vue @@ -170,7 +170,8 @@ export default { const vinYmmFound = // eslint-disable-next-line max-len `${this.customAlertData?.vehicleInfo?.year} ${this.customAlertData?.vehicleInfo?.make} ${this.customAlertData?.vehicleInfo?.model}`; - const vinYmmExpected = `${this.mainStore.order.vehicle.year} ${this.mainStore.order.vehicle.make} ${this.mainStore.order.vehicle.model}`; + const vinYmmExpected = `${this.mainStore.order.vehicle.year} ${this.mainStore.order.vehicle.make} + ${this.mainStore.order.vehicle.model}`; return this.getCmsContent( 'AlertMatchedDifferentVehicleWidget', @@ -206,7 +207,8 @@ export default { const vinYmmFound = // eslint-disable-next-line max-len `${this.customAlertData?.vehicleInfo?.year} ${this.customAlertData?.vehicleInfo?.make} ${this.customAlertData?.vehicleInfo?.model}`; - const vinYmmExpected = `${this.mainStore.order.vehicle.year} ${this.mainStore.order.vehicle.make} ${this.mainStore.order.vehicle.model}`; + const vinYmmExpected = `${this.mainStore.order.vehicle.year} ${this.mainStore.order.vehicle.make} + ${this.mainStore.order.vehicle.model}`; return vinYmmFound.toLowerCase() === vinYmmExpected.toLowerCase(); }, stateOptions: { @@ -224,6 +226,7 @@ export default { this.$refs.siteFooter.updateButtonText(this.getCmsContent('SiteFooterWidget', 'ForwardButtonText')); }, licenseState() { + this.$refs.siteFooter.updateButtonText(this.getCmsContent('SiteFooterWidget', 'ForwardButtonText')); this.$refs.siteFooter.enableForwardAction(); } }, @@ -272,6 +275,7 @@ export default { // No VIN found if (resultMap.vinLookupResponse.error) { this.displayVinNotFoundAlert = true; + this.previouslyEnteredCarId = null; this.$refs.siteFooter.disableForwardButton(); return this.$refs.siteFooter.removeLoader(); }