CASH-1314: make the null check more specific

This commit is contained in:
AdamCaouetteSafelite 2025-08-06 16:38:44 -04:00
parent 092c7156bb
commit 470a72e1ee

View file

@ -1559,7 +1559,7 @@ export default {
} }
}, },
updateTimeSlot(timeSlotObj) { updateTimeSlot(timeSlotObj) {
if (!timeSlotObj?.timeSlot?.date) return; if (this.preSelectedDate && !timeSlotObj?.timeSlot?.date) return;
this.selectedTimeSlotInfo = timeSlotObj; this.selectedTimeSlotInfo = timeSlotObj;
if ( if (
this.appointmentType !== AppointmentTypeStrings.MOBILE && this.appointmentType !== AppointmentTypeStrings.MOBILE &&