Merge pull request #2689 from Safelite/nation/CASH-1225
Nation/cash 1225
This commit is contained in:
commit
1d79c167ad
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