do not handle error if vehicle lookup is successful
This commit is contained in:
parent
5a764218d3
commit
e473f74737
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue