Merge pull request #2738 from Safelite/feature/CASH-1314-v2

CASH-1314: make the null check more specific
This commit is contained in:
AdamCaouetteSafelite 2025-08-06 17:16:05 -04:00 committed by GitHub
commit 0755bc8cda
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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