Fix error.

This commit is contained in:
bmauger 2022-03-14 15:33:40 -04:00
parent f3c2abc2aa
commit 735902c4fa

View file

@ -29,6 +29,12 @@ export const state = {
lastName: null, lastName: null,
}, },
}, },
serviceLocation: {
zip: null,
},
customer: {
emailAddress: null,
},
damage: { damage: {
isRepair: null, isRepair: null,
numberOfChips: null, numberOfChips: null,
@ -111,10 +117,10 @@ export const mutations = {
updateRegistrationLicensePlate(state, registrationLicensePlate){ updateRegistrationLicensePlate(state, registrationLicensePlate){
state.order.vehicle.registration.licensePlate = registrationLicensePlate; state.order.vehicle.registration.licensePlate = registrationLicensePlate;
}, },
updateServiceLocationZip(state, ServiceLocationZip){ updateServiceLocationZip(state, serviceLocationZip){
state.order.vehicle.serviceLocation.zip = serviceLocationZip; state.order.vehicle.serviceLocation.zip = serviceLocationZip;
}, },
updateCustomerEmailAddress(state, CustomerEmailAddress){ updateCustomerEmailAddress(state, customerEmailAddress){
state.order.vehicle.customer.emailAddress = customerEmailAddress; state.order.vehicle.customer.emailAddress = customerEmailAddress;
}, },