diff --git a/src/layouts/schedule-page/service-location/service-location.vue b/src/layouts/schedule-page/service-location/service-location.vue index 0af2fc9e..601a1e5d 100644 --- a/src/layouts/schedule-page/service-location/service-location.vue +++ b/src/layouts/schedule-page/service-location/service-location.vue @@ -372,7 +372,7 @@ export default { }; } - this.mainStore.saveServiceLocation({ + this.mainStore.updateServiceLocation({ state: this.state, zipCode: this.zipCode, zipCodeCtu: this.zipCodeCtu, diff --git a/src/store/index.js b/src/store/index.js index 32ee3b69..cd155ef2 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -1842,7 +1842,7 @@ export const useMainStore = defineStore({ this.order.serviceLocation.zipCodeCtu = serviceLocationInfo.zipCodeCtu ?? this.order.serviceLocation.zipCodeCtu; this.order.serviceLocation.appointmentType = serviceLocationInfo.appointmentType ?? this.order.serviceLocation.appointmentType; this.order.serviceLocation.isVehicleProtected = serviceLocationInfo.isVehicleProtected ?? this.order.serviceLocation.isVehicleProtected; - this.updateServiceLocationProvider(serviceLocationInfo.provider) + this.updateServiceLocationProvider(serviceLocationInfo.provider); this.order.serviceLocation.tpaSearchRadius = serviceLocationInfo.tpaSearchRadius; }, updateAppointmentType(appointmentType) {