CASH-1145

CASH-1145 prevented continue button from being selected before a timeslot has been picked for happy path and for when they navigate forward and back
This commit is contained in:
Johnny shultz 2025-07-21 16:05:17 -04:00
parent ce69670521
commit d1fff5162f

View file

@ -742,7 +742,14 @@ export default {
return store.getters.order.policy.isNoComp;
},
isForwardActionDisabled() {
return this.displayNoShopsAlert;
if (
(this.appointmentType === AppointmentTypeStrings.IN_SHOP ||
this.appointmentType === AppointmentTypeStrings.DROP_OFF) &&
!this.selectedTimeSlotInfo?.timeSlot?.date
) {
return true;
}
return this.displayNoShopsAlert || this.appointmentType === AppointmentTypeStrings.IN_SHOP_OR_DROP_OFF;
},
additionalButtonData() {
return {