Merge pull request #2728 from Safelite/feature/CASH-1246

CASH-1246 prevent mobile supplemental info when there are no timeslots
This commit is contained in:
Matt Caimi 2025-08-05 11:11:22 -04:00 committed by GitHub
commit 29c16391a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -191,7 +191,8 @@ export default {
this.selectedDate == null ||
this.appointmentType === AppointmentTypeStrings.IN_SHOP_OR_DROP_OFF ||
this.appointmentType === AppointmentTypeStrings.IN_SHOP ||
this.appointmentType === AppointmentTypeStrings.DROP_OFF
this.appointmentType === AppointmentTypeStrings.DROP_OFF ||
!this.availableTimeSlots
) {
if (!this.selectedAnswerForTimeSlots && !this.selectedAnswerForDropOffOrInshop) {
this.autoSelectTimeSlotIfOnlyOneIsAvailable();