Merge pull request #290 from Safelite/CSR-101-fix-error

Fix error.
This commit is contained in:
bmauger 2022-03-14 15:47:30 -04:00 committed by GitHub
commit 5132788bac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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