diff --git a/src/digital-components/date-picker/date-picker.vue b/src/digital-components/date-picker/date-picker.vue index dd3efe5b9..72bdcb093 100644 --- a/src/digital-components/date-picker/date-picker.vue +++ b/src/digital-components/date-picker/date-picker.vue @@ -307,11 +307,7 @@ export default { }, set(newSelectedDate) { this.$emit("update:modelValue", newSelectedDate); - this.dispatchStoreAction( - this.storeActions.SAVE_WAITLIST_REQUESTED, - false, - false - ); + this.dispatchStoreAction(this.storeActions.SAVE_WAITLIST_REQUESTED, false, false); }, }, dropOffDurationText() { diff --git a/src/layouts/schedule/schedule.vue b/src/layouts/schedule/schedule.vue index afaef4ec1..c822a3ea3 100644 --- a/src/layouts/schedule/schedule.vue +++ b/src/layouts/schedule/schedule.vue @@ -992,12 +992,8 @@ export default { this.isVehicleProtected = null; }, - resetWaitlist(){ - this.dispatchStoreAction( - this.storeActions.SAVE_WAITLIST_REQUESTED, - false, - false - ); + resetWaitlist() { + this.dispatchStoreAction(this.storeActions.SAVE_WAITLIST_REQUESTED, false, false); this.waitListRequested = false; }, setServiceabilityDetails(serviceabilityDetails) { diff --git a/src/layouts/schedule/time-slot-question/time-slot-question.vue b/src/layouts/schedule/time-slot-question/time-slot-question.vue index 5bace95ec..cb0120539 100644 --- a/src/layouts/schedule/time-slot-question/time-slot-question.vue +++ b/src/layouts/schedule/time-slot-question/time-slot-question.vue @@ -346,11 +346,11 @@ export default { return this.getCmsContent("WaitListSuccessWidget", "BodyText"); }, waitListRequested: { - get(){ + get() { return this.$store.getters.order.customer?.waitListRequested; }, set(value) { - this.dispatchStoreAction(storeActions.SAVE_WAITLIST_REQUESTED, value) + this.dispatchStoreAction(storeActions.SAVE_WAITLIST_REQUESTED, value); }, }, isMobileAppointment() {