diff --git a/src/layouts/address-lookup/address-lookup.vue b/src/layouts/address-lookup/address-lookup.vue index 51f37a2b..6a63e895 100644 --- a/src/layouts/address-lookup/address-lookup.vue +++ b/src/layouts/address-lookup/address-lookup.vue @@ -32,6 +32,7 @@ v-if="displayMatchedDifferentVehicleAlert" ref="alertMatchedDifferentVehicle" class="mb-4 mt-4" + cmsWidgetName="AlertMatchedDifferentVehicleWidget" :manualHeadline="AlertMatchedDifferentVehicleHeader" :manualCopy="AlertMatchedDifferentVehicleBody" alertClass="alert-warning" @@ -41,9 +42,7 @@ ref="alertMatchedTwoIdenticalYMMVehicle" class="mb-4 mt-4" cmsWidgetName="AlertMatchedTwoIdenticalYMMVehicleWidget" - :manualHeadline=" - AlertMatchedTwoIdenticalYMMVehicleHeader - " + :manualHeadline="AlertMatchedTwoIdenticalYMMVehicleHeader" :manualCopy="AlertMatchedTwoIdenticalYMMVehicleBody" alertClass="alert-warning" :isDismissible="false" /> @@ -176,11 +175,7 @@ export default { `${this.customAlertData?.vehicleInfo?.year} ${this.customAlertData?.vehicleInfo?.make} ${this.customAlertData?.vehicleInfo?.model} ${this.customAlertData?.vehicleInfo?.style}`; const vinYmmsExpected = // eslint-disable-next-line max-len - `${useMainStore().order.vehicle.year} ${ - useMainStore().order.vehicle.make - } ${useMainStore().order.vehicle.model} ${ - useMainStore().order.vehicle.style - }`; + `${useMainStore().order.vehicle.year} ${useMainStore().order.vehicle.make} ${useMainStore().order.vehicle.model} ${useMainStore().order.vehicle.style}`; return this.getCmsContent( 'AlertMatchedTwoIdenticalYMMVehicleWidget', @@ -269,10 +264,7 @@ export default { this.isCarIdDifferent = carFound.carId !== useMainStore().order.vehicle.carId; - if ( - this.isCarIdDifferent - && carFound.carId !== this.previouslyEnteredCarId - ) { + if (this.isCarIdDifferent && carFound.carId !== this.previouslyEnteredCarId) { // Display Alert this.previouslyEnteredCarId = carFound.carId; this.customAlertData.vehicleInfo = carFound;