CASH-464: prettier formatting

This commit is contained in:
Adam Caouette 2025-04-23 11:58:22 -04:00
parent 980ce409e1
commit ec3991ccb7
3 changed files with 17 additions and 21 deletions

View file

@ -99,7 +99,7 @@
@click="showAnotherMonth">
View more dates
</button>
<timeSlotQuestion
<timeSlotQuestion
ref="timeSlotModalQuestion"
v-model="selectedTimeSlotInfo"
cmsWidgetName="TimeSlotModalQuestion"
@ -115,15 +115,10 @@
:premiumAppointmentFee="mobilePremiumAppointmentFee"
:displayWaitList="displayWaitList"
:timeSlotsForSelectedDate="timeSlotsForSelectedDate"
:estimatedServiceMinutesMinimum="
selectableDatesData.estimatedServiceMinutesMinimum
"
:estimatedServiceMinutesMaximum="
selectableDatesData.estimatedServiceMinutesMaximum
"
:estimatedServiceMinutesMinimum="selectableDatesData.estimatedServiceMinutesMinimum"
:estimatedServiceMinutesMaximum="selectableDatesData.estimatedServiceMinutesMaximum"
@waitListRequested="handleWaitListRequested"
@time-slot-modal-closed="timeSlotModalClosed"
/>
@time-slot-modal-closed="timeSlotModalClosed" />
</fieldset>
</div>
</template>
@ -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: {

View file

@ -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;
}
}
</style>

View file

@ -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) {