Remove comments and console logs
This commit is contained in:
parent
ab8515853b
commit
558c7367ab
3 changed files with 1 additions and 40 deletions
|
|
@ -129,26 +129,6 @@
|
||||||
@click="showAnotherMonth">
|
@click="showAnotherMonth">
|
||||||
View more dates
|
View more dates
|
||||||
</button>
|
</button>
|
||||||
<!--<timeSlotQuestion
|
|
||||||
ref="timeSlotModalQuestion"
|
|
||||||
v-model="selectedTimeSlotInfo" // Removed, some watcher logic for duration was in here, need ot recreate
|
|
||||||
cmsWidgetName="TimeSlotModalQuestion"
|
|
||||||
waitListLabelWidget="WaitListLabelWidget"
|
|
||||||
waitListQuestionWidget="WaitListQuestionWidget"
|
|
||||||
mobilePremiumCmsWidgetName="MobilePremiumTimeSlotModal"
|
|
||||||
mobileCmsWidgetName="MobileTimeSlotModal"
|
|
||||||
dropoffCmsWidgetName="DropOffTimeSlotModal"
|
|
||||||
sameDayDropOffCmsWidgetName="SameDayDropOffTimeSlotModal"
|
|
||||||
overnightDropOffCmsWidgetName="OvernightDropOffTimeSlotModal"
|
|
||||||
dropOffOrPickATimeQuestionCmsWidgetName="DropOffOrPickATimeQuestionWidget"
|
|
||||||
:selectedDate="selectedDate" // used in date-picker
|
|
||||||
:appointmentType="appointmentType" // used in date-picker for duration
|
|
||||||
:premiumAppointmentFee="premiumAppointmentFee" // Removed from date-picker
|
|
||||||
:displayWaitList="displayWaitList" // Removed from date-picker
|
|
||||||
:timeSlotsForSelectedDate="timeSlotsForSelectedDate" // Removed from date-picker (but it had a null check for is-same-day)
|
|
||||||
:estimatedServiceMinutesMinimum="estimatedServiceMinutesMinimum" // used in date-picker for duration
|
|
||||||
:estimatedServiceMinutesMaximum="estimatedServiceMinutesMaximum" // used in date-picker for duration
|
|
||||||
@waitListRequested="handleWaitListRequested" // removed, it's a pass-through /> -->
|
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -886,14 +866,6 @@ export default {
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
|
||||||
.duration-text-block {
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.date-picker-header {
|
|
||||||
margin-bottom: 1.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
fieldset {
|
fieldset {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
|
||||||
|
|
@ -83,12 +83,6 @@ export default {
|
||||||
return null;
|
return null;
|
||||||
},
|
},
|
||||||
durationTextBlockCopy() {
|
durationTextBlockCopy() {
|
||||||
console.log(
|
|
||||||
"durationTextBlockCopy",
|
|
||||||
this.appointmentType,
|
|
||||||
this.estimatedServiceMinutesMaximum,
|
|
||||||
this.estimatedServiceMinutesMinimum
|
|
||||||
);
|
|
||||||
if (this.appointmentType === AppointmentTypeStrings.MOBILE) {
|
if (this.appointmentType === AppointmentTypeStrings.MOBILE) {
|
||||||
return this.mobileDurationText;
|
return this.mobileDurationText;
|
||||||
} else if (this.appointmentType === AppointmentTypeStrings.DROP_OFF) {
|
} else if (this.appointmentType === AppointmentTypeStrings.DROP_OFF) {
|
||||||
|
|
|
||||||
|
|
@ -114,7 +114,7 @@
|
||||||
<div class="col-12 col-md-10 col-lg-8 col-xl-7">
|
<div class="col-12 col-md-10 col-lg-8 col-xl-7">
|
||||||
<locationAlerts cmsWidgetPrefix="LocationAlert-" ref="locationAlerts" />
|
<locationAlerts cmsWidgetPrefix="LocationAlert-" ref="locationAlerts" />
|
||||||
<div v-show="appointmentType" class="date-picker-header fw-normal mt-5 mb-5">
|
<div v-show="appointmentType" class="date-picker-header fw-normal mt-5 mb-5">
|
||||||
<textBlock :customText="datePickerHeaderText" typeStyle="button-question"/>
|
<textBlock :customText="datePickerHeaderText" typeStyle="button-question" />
|
||||||
<durationTextBlock
|
<durationTextBlock
|
||||||
:isSameDay="isSameDay"
|
:isSameDay="isSameDay"
|
||||||
:appointmentType="appointmentType"
|
:appointmentType="appointmentType"
|
||||||
|
|
@ -806,12 +806,9 @@ export default {
|
||||||
return [];
|
return [];
|
||||||
},
|
},
|
||||||
selectedRouteCodeData() {
|
selectedRouteCodeData() {
|
||||||
console.log("1", JSON.stringify(this.selectedTimeSlotInfo));
|
|
||||||
if (!this.selectedTimeSlotInfo?.timeSlot?.routeCode) {
|
if (!this.selectedTimeSlotInfo?.timeSlot?.routeCode) {
|
||||||
console.log("returning null");
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
console.log("returning data");
|
|
||||||
return {
|
return {
|
||||||
routeCode: this.selectedTimeSlotInfo.timeSlot.routeCode,
|
routeCode: this.selectedTimeSlotInfo.timeSlot.routeCode,
|
||||||
isPremiumAppointment: this.selectedTimeSlotInfo.isPremiumAppointment,
|
isPremiumAppointment: this.selectedTimeSlotInfo.isPremiumAppointment,
|
||||||
|
|
@ -1608,7 +1605,6 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
updateTimeSlot(timeSlotObj) {
|
updateTimeSlot(timeSlotObj) {
|
||||||
console.log("timeSlotObj", timeSlotObj);
|
|
||||||
if (!timeSlotObj?.routeCode) {
|
if (!timeSlotObj?.routeCode) {
|
||||||
this.appointmentType = AppointmentTypeStrings.IN_SHOP_OR_DROP_OFF;
|
this.appointmentType = AppointmentTypeStrings.IN_SHOP_OR_DROP_OFF;
|
||||||
this.selectedTimeSlotInfo = {
|
this.selectedTimeSlotInfo = {
|
||||||
|
|
@ -1803,7 +1799,6 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
selectedTimeSlotInfo(newValue) {
|
selectedTimeSlotInfo(newValue) {
|
||||||
console.log("heard a change on selectedTimeslotInfo", newValue);
|
|
||||||
this.updateFooterButtonText(newValue);
|
this.updateFooterButtonText(newValue);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue