if multiple vehicles found, still save the first and last name to vuex
This commit is contained in:
CarlNation 2023-09-12 10:52:53 -04:00
parent a0aa596094
commit f522b35a29

View file

@ -1679,8 +1679,9 @@ export const actions = {
if (!isSelectedGlassAvailableForVehicle) {
context.dispatch(storeActions.RESET_DAMAGE_STATE_AND_DEPENDENCIES);
}
}
//Save new values
if (registrationInfo){
context.commit(storeMutations.UPDATE_VEHICLE, vehicleInfo);
context.commit(storeMutations.UPDATE_REGISTRATION, registrationInfo);
}