Merge pull request #2706 from Safelite/feature/CASH-1291

CASH-1291: Redundant clearing of timeslot
This commit is contained in:
Chris 2025-07-29 08:42:58 -04:00 committed by GitHub
commit 065fe0be2b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -187,7 +187,6 @@ export default {
let appointmentTypeCmsWidgetName;
if (
this.selectedDate == null ||
this.appointmentType === AppointmentTypeStrings.IN_SHOP_OR_DROP_OFF ||
this.appointmentType === AppointmentTypeStrings.IN_SHOP ||
this.appointmentType === AppointmentTypeStrings.DROP_OFF
@ -206,10 +205,6 @@ export default {
// );
// }
} else {
if (!this.selectedAnswerForTimeSlots && this.selectedRouteCode) {
// Clearing selectedRouteCode if no time slot is selected
this.resetSelectedTimeSlot();
}
appointmentTypeCmsWidgetName = this.selectedRouteCode?.includes(
PREMIUM_TIME_SLOT_ID_FLAG
)