diff --git a/src/digital-components/date-picker/date-picker.vue b/src/digital-components/date-picker/date-picker.vue index 5877190e9..d62422ea7 100644 --- a/src/digital-components/date-picker/date-picker.vue +++ b/src/digital-components/date-picker/date-picker.vue @@ -99,7 +99,7 @@ @click="showAnotherMonth"> View more dates - + @time-slot-modal-closed="timeSlotModalClosed" /> @@ -169,7 +164,6 @@ export default { hideSomeDaysForInitialView: null, selectedTimeSlotInfo: this.getSelectedTimeSlotInfo(), - }; }, props: { @@ -797,8 +791,6 @@ export default { getSupportingItems() { return store.getters.lineItems.supportingItems; }, - - }, watch: { modelValue(newValue) { @@ -813,10 +805,7 @@ export default { } }, selectedTimeSlotInfo(newValue) { - this.$emit( - "TimeSlotSelected", - newValue - ); // NEEDED ON SCHEDULE - to update footer button text and to save to Store correctly + this.$emit("TimeSlotSelected", newValue); // NEEDED ON SCHEDULE - to update footer button text and to save to Store correctly }, }, components: { diff --git a/src/layouts/schedule/schedule.vue b/src/layouts/schedule/schedule.vue index 885dfd6a7..b8809d3de 100644 --- a/src/layouts/schedule/schedule.vue +++ b/src/layouts/schedule/schedule.vue @@ -570,7 +570,8 @@ export default { experimentMixin.methods.hasSettingEqualTo( experimentSettings.DISPLAY_WAITLIST, "true" - ) && this.selectableDatesData.days[0] + ) && + this.selectableDatesData.days[0] ) { const dateString = this.selectableDatesData.days[0].date; const [year, month, day] = dateString.split("-").map(Number); @@ -674,7 +675,7 @@ export default { }, updateTimeSlot(timeSlot) { this.selectedTimeSlotInfo = timeSlot; - } + }, }, watch: { selectedDate(newValue, oldValue) { @@ -734,5 +735,4 @@ export default { margin-bottom: 0.25rem; } } - 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 61a19da69..309080eea 100644 --- a/src/layouts/schedule/time-slot-question/time-slot-question.vue +++ b/src/layouts/schedule/time-slot-question/time-slot-question.vue @@ -295,8 +295,15 @@ export default { } }, isSameDay() { - console.log("%c TSQ - calculating isSameDay; this.selectedDate ", "color: beige;", this.selectedDate); - console.log("%c TSQ - calculating isSameDay; IS THIS WORKING OK? ", "color: beige;"); + console.log( + "%c TSQ - calculating isSameDay; this.selectedDate ", + "color: beige;", + this.selectedDate + ); + console.log( + "%c TSQ - calculating isSameDay; IS THIS WORKING OK? ", + "color: beige;" + ); debugger; // eslint-disable-line no-debugger if (!this.timeSlotsForSelectedDate) {