Merge pull request #2706 from Safelite/feature/CASH-1291
CASH-1291: Redundant clearing of timeslot
This commit is contained in:
commit
065fe0be2b
1 changed files with 0 additions and 5 deletions
|
|
@ -187,7 +187,6 @@ export default {
|
||||||
let appointmentTypeCmsWidgetName;
|
let appointmentTypeCmsWidgetName;
|
||||||
|
|
||||||
if (
|
if (
|
||||||
this.selectedDate == null ||
|
|
||||||
this.appointmentType === AppointmentTypeStrings.IN_SHOP_OR_DROP_OFF ||
|
this.appointmentType === AppointmentTypeStrings.IN_SHOP_OR_DROP_OFF ||
|
||||||
this.appointmentType === AppointmentTypeStrings.IN_SHOP ||
|
this.appointmentType === AppointmentTypeStrings.IN_SHOP ||
|
||||||
this.appointmentType === AppointmentTypeStrings.DROP_OFF
|
this.appointmentType === AppointmentTypeStrings.DROP_OFF
|
||||||
|
|
@ -206,10 +205,6 @@ export default {
|
||||||
// );
|
// );
|
||||||
// }
|
// }
|
||||||
} else {
|
} else {
|
||||||
if (!this.selectedAnswerForTimeSlots && this.selectedRouteCode) {
|
|
||||||
// Clearing selectedRouteCode if no time slot is selected
|
|
||||||
this.resetSelectedTimeSlot();
|
|
||||||
}
|
|
||||||
appointmentTypeCmsWidgetName = this.selectedRouteCode?.includes(
|
appointmentTypeCmsWidgetName = this.selectedRouteCode?.includes(
|
||||||
PREMIUM_TIME_SLOT_ID_FLAG
|
PREMIUM_TIME_SLOT_ID_FLAG
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue