diff --git a/src/store/index.js b/src/store/index.js index cc8dc0b39..5050ca831 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -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); }