Merge pull request #803 from Safelite/defect/CSR-923

CSR-923 Fix alert
This commit is contained in:
katieoh-safelite 2022-11-04 10:02:30 -04:00 committed by GitHub
commit 23d5125667
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,9 +63,7 @@ export default {
}, },
selectedVehicle() { selectedVehicle() {
// this computed is only needed for the computed differentVehicleAlertBody text above // this computed is only needed for the computed differentVehicleAlertBody text above
return this.vehicles.find( return this.vehicles.find(({ vin }) => vin === this.selectedVehicleVin);
({ vin }) => vin === this.selectedVehicleVin[this.selectedVehicleVin.length - 1]
);
}, },
}, },
components: { components: {