CASH-1225
CASH-1225 seemed like meta was false when default timeslot selected. Could not determine why so removed meta and changed the check to enable the continue button to be based on having an appointment type and a routecode. Will need to retest CASH-1145. Should also cover CASH-1218 and CASH-1228
This commit is contained in:
parent
4a3a84689c
commit
6d0e9ff4a1
1 changed files with 3 additions and 13 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<Form @submit="onSubmit" @invalid-submit="onInvalidSubmit" ref="theForm" v-slot="{ meta }">
|
||||
<Form @submit="onSubmit" @invalid-submit="onInvalidSubmit" ref="theForm">
|
||||
<loadingModal ref="loadingModal" />
|
||||
<div class="container-fluid page-container-grouped-styles page-schedule">
|
||||
<div class="row justify-content-center">
|
||||
|
|
@ -147,7 +147,7 @@
|
|||
<navbar
|
||||
cmsWidgetName="FunnelFooterWidget"
|
||||
ref="navbar"
|
||||
:isForwardActionDisabled="!meta.valid || isForwardActionDisabled"
|
||||
:isForwardActionDisabled="isForwardActionDisabled"
|
||||
@back-clicked="backButtonAction"
|
||||
@ForwardClicked="forwardButtonAction" />
|
||||
</div>
|
||||
|
|
@ -743,17 +743,7 @@ export default {
|
|||
return store.getters.order.policy.isNoComp;
|
||||
},
|
||||
isForwardActionDisabled() {
|
||||
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
|
||||
);
|
||||
return !this.selectedTimeSlotInfo?.timeSlot?.routeCode || !this.appointmentType;
|
||||
},
|
||||
additionalButtonData() {
|
||||
return {
|
||||
|
|
|
|||
Loading…
Reference in a new issue