refactor v2

This commit is contained in:
Katie Kroell 2023-07-03 14:25:40 -04:00
parent fd1f630677
commit 3485373a4c

View file

@ -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