do not handle error if vehicle lookup is successful

This commit is contained in:
Katie Kroell 2023-06-30 14:33:43 -04:00
parent 5a764218d3
commit e473f74737

View file

@ -193,7 +193,7 @@ export default {
const vehicle = await this.lookupVehicleByVin(value);
// handle error in case vehicle info doesn't come back for selected VIN
if (vehicle?.error ?? true) {
if (vehicle?.error === true) {
this.mainStore.resetVehicleState();
this.displayGeneric = true;
return;