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

This commit is contained in:
CarlNation 2025-07-24 14:55:56 -04:00
commit 82c2db6882

View file

@ -206,6 +206,10 @@ export default {
// ); // );
// } // }
} else { } else {
if (!this.selectedAnswerForTimeSlots && this.selectedRouteCode) {
// Clearing selectedRouteCode if no time slot is selected
this.resetSelectedTimeSlot();
}
appointmentTypeCmsWidgetName = this.selectedRouteCode?.includes( appointmentTypeCmsWidgetName = this.selectedRouteCode?.includes(
PREMIUM_TIME_SLOT_ID_FLAG PREMIUM_TIME_SLOT_ID_FLAG
) )
@ -552,10 +556,13 @@ export default {
return slot.id === selectedRouteCodeString; return slot.id === selectedRouteCodeString;
}); });
if (!matchingTimeSlot) { if (!matchingTimeSlot) {
this.selectedRouteCode = null; this.resetSelectedTimeSlot();
} }
} }
}, },
resetSelectedTimeSlot() {
this.selectedRouteCode = null;
},
}, },
watch: { watch: {
waitListRequested(newVal) { waitListRequested(newVal) {