CSR-1630
if multiple vehicles found, still save the first and last name to vuex
This commit is contained in:
parent
a0aa596094
commit
f522b35a29
1 changed files with 2 additions and 1 deletions
|
|
@ -1679,8 +1679,9 @@ export const actions = {
|
||||||
if (!isSelectedGlassAvailableForVehicle) {
|
if (!isSelectedGlassAvailableForVehicle) {
|
||||||
context.dispatch(storeActions.RESET_DAMAGE_STATE_AND_DEPENDENCIES);
|
context.dispatch(storeActions.RESET_DAMAGE_STATE_AND_DEPENDENCIES);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//Save new values
|
if (registrationInfo){
|
||||||
context.commit(storeMutations.UPDATE_VEHICLE, vehicleInfo);
|
context.commit(storeMutations.UPDATE_VEHICLE, vehicleInfo);
|
||||||
context.commit(storeMutations.UPDATE_REGISTRATION, registrationInfo);
|
context.commit(storeMutations.UPDATE_REGISTRATION, registrationInfo);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue