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:
parent
ce69670521
commit
d1fff5162f
1 changed files with 8 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue