commit
23d5125667
1 changed files with 1 additions and 3 deletions
|
|
@ -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: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue