CASH-1314: fix to ensure that null values are not allowed to update timeSlots

This commit is contained in:
AdamCaouetteSafelite 2025-08-05 11:06:10 -04:00
parent 5898b01e0c
commit 50aec788ff

View file

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