diff --git a/src/layouts/address-vehicles/address-vehicles-question/address-vehicles-question.vue b/src/layouts/address-vehicles/address-vehicles-question/address-vehicles-question.vue index 003556727..1adbf1183 100644 --- a/src/layouts/address-vehicles/address-vehicles-question/address-vehicles-question.vue +++ b/src/layouts/address-vehicles/address-vehicles-question/address-vehicles-question.vue @@ -44,6 +44,8 @@ export default { ); }, differentVehicleAlertBody() { + console.log(this.getCmsContent("FoundWindshield", "BodyText")) + console.log({selectedVehicle: this.selectedVehicle, vehicles: this.vehicles, selectedVehicleVin: this.selectedVehicleVin}) return this.getCmsContent("FoundWindshield", "BodyText") .replaceAll("{custom:damage}", getDamageString()) .replaceAll("{custom:vinlookupYear}", this.selectedVehicle?.vehicle.year) @@ -64,7 +66,7 @@ export default { selectedVehicle() { // this computed is only needed for the computed differentVehicleAlertBody text above return this.vehicles.find( - ({ vin }) => vin === this.selectedVehicleVin[this.selectedVehicleVin.length - 1] + ({ vin }) => vin === this.selectedVehicleVin ); }, },