refactor v2
This commit is contained in:
parent
fd1f630677
commit
3485373a4c
1 changed files with 3 additions and 2 deletions
|
|
@ -196,9 +196,10 @@ export default {
|
|||
if (vehicle?.error === true) {
|
||||
this.mainStore.resetVehicleState();
|
||||
this.displayGeneric = true;
|
||||
} else {
|
||||
}
|
||||
if (vehicle) {
|
||||
// save selected vehicle to the store
|
||||
this.mainStore.updateVehicle(vehicle?.data);
|
||||
this.mainStore.updateVehicle(vehicle);
|
||||
this.displayGeneric = true;
|
||||
|
||||
// get the style(s) associated with the selected YMM
|
||||
|
|
|
|||
Loading…
Reference in a new issue