Merge pull request #2714 from Safelite/feature/CASH-1291-half-revert
Revert some of 1291
This commit is contained in:
commit
d28adc3c1a
1 changed files with 5 additions and 0 deletions
|
|
@ -187,6 +187,7 @@ 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
|
||||||
|
|
@ -205,6 +206,10 @@ 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