From 970dbde3043c3793d04219f632298dd7599446d5 Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Tue, 10 Oct 2023 10:32:19 -0400 Subject: [PATCH] smh --- src/store/index.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/store/index.js b/src/store/index.js index 77af754d..b9d40f81 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -1086,16 +1086,16 @@ export const useMainStore = defineStore({ this.order.vehicle.registration.lastName = registrationInfo?.lastName; }, updateServiceLocation(serviceLocationInfo) { - state.order.serviceLocation.address = serviceLocationInfo.address; - state.order.serviceLocation.address2 = serviceLocationInfo.address2; - state.order.serviceLocation.city = serviceLocationInfo.city; - state.order.serviceLocation.state = serviceLocationInfo.state; - state.order.serviceLocation.zipCode = serviceLocationInfo.zipCode; - state.order.serviceLocation.zipCodeCtu = serviceLocationInfo.zipCodeCtu; - state.order.serviceLocation.appointmentType = serviceLocationInfo.appointmentType; - state.order.serviceLocation.isVehicleProtected = serviceLocationInfo.isVehicleProtected; + this.order.serviceLocation.address = serviceLocationInfo.address; + this.order.serviceLocation.address2 = serviceLocationInfo.address2; + this.order.serviceLocation.city = serviceLocationInfo.city; + this.order.serviceLocation.state = serviceLocationInfo.state; + this.order.serviceLocation.zipCode = serviceLocationInfo.zipCode; + this.order.serviceLocation.zipCodeCtu = serviceLocationInfo.zipCodeCtu; + this.order.serviceLocation.appointmentType = serviceLocationInfo.appointmentType; + this.order.serviceLocation.isVehicleProtected = serviceLocationInfo.isVehicleProtected; - state.order.serviceLocation.provider = { + this.order.serviceLocation.provider = { providerNumber: serviceLocationInfo.provider?.providerNumber, address: { streetAddress: serviceLocationInfo.provider?.address?.streetAddress,