Fixed navigation bug for when multiple vehicles are found and one of them matches the vehicle entered
This commit is contained in:
parent
8677d0e2ef
commit
7e9a719f8a
1 changed files with 1 additions and 1 deletions
|
|
@ -283,7 +283,7 @@ export default {
|
|||
}
|
||||
} else if (carsFound.length > 1) {
|
||||
// if multiple cars were found
|
||||
if (carsFound.find(car => car.carId === carEntered.carId)) {
|
||||
if (carsFound.find(car => car.vehicle.carId === carEntered.carId)) {
|
||||
// and one of them matches the car id entered
|
||||
this.$refs.loadingModal.showModal();
|
||||
navigateAfterSaveToHeritageFunnel(this.$route);
|
||||
|
|
|
|||
Loading…
Reference in a new issue