Merge branch 'release/2025.07.31' into nation/CASH-1225

This commit is contained in:
CarlNation 2025-07-24 13:33:40 -04:00 committed by GitHub
commit 33241a8ecb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1393,6 +1393,8 @@ export default {
this.pushEventToGA("waitlist", "add_to_waitlist_check_box_status", gaLabel, true); this.pushEventToGA("waitlist", "add_to_waitlist_check_box_status", gaLabel, true);
} }
if (this.selectedTimeSlotInfo.timeSlot.jobMinMinutes == null) {
this.selectedTimeSlotInfo = this.getSelectedTimeSlotInfo();
if (this.selectedTimeSlotInfo.timeSlot.jobMinMinutes == null) { if (this.selectedTimeSlotInfo.timeSlot.jobMinMinutes == null) {
this.selectedTimeSlotInfo.timeSlot.jobMinMinutes = this.isMobileSelected this.selectedTimeSlotInfo.timeSlot.jobMinMinutes = this.isMobileSelected
? this.selectableDatesMobile.estimatedServiceMinutesMinimum?.toString() ? this.selectableDatesMobile.estimatedServiceMinutesMinimum?.toString()
@ -1401,6 +1403,7 @@ export default {
? this.selectableDatesMobile.estimatedServiceMinutesMaximum?.toString() ? this.selectableDatesMobile.estimatedServiceMinutesMaximum?.toString()
: this.selectableDatesInshop.estimatedServiceMinutesMaximum?.toString(); : this.selectableDatesInshop.estimatedServiceMinutesMaximum?.toString();
} }
}
this.dispatchStoreAction( this.dispatchStoreAction(
this.storeActions.SAVE_SCHEDULE, this.storeActions.SAVE_SCHEDULE,
@ -1663,7 +1666,14 @@ export default {
}, },
selectedDate(newValue, oldValue) { selectedDate(newValue, oldValue) {
// Clear time slot selection if date selected changes // Clear time slot selection if date selected changes
if (newValue !== oldValue) { const selectedDate = this.getSelectedDateFromStore();
if (oldValue && this.appointmentType === AppointmentTypeStrings.MOBILE) {
oldValue = `${oldValue}-mobile`;
}
const hasValueChanged = newValue !== oldValue;
const isDateDifferent = (newValue || oldValue) !== selectedDate;
if (hasValueChanged && isDateDifferent) {
this.selectedTimeSlotInfo = { this.selectedTimeSlotInfo = {
timeSlot: { timeSlot: {
date: null, date: null,