diff --git a/src/store/index.js b/src/store/index.js index 65e5a06c7..53e977114 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -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; },