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">
|
||||
View more dates
|
||||
</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>
|
||||
</div>
|
||||
</template>
|
||||
|
|
@ -886,14 +866,6 @@ export default {
|
|||
align-items: flex-start;
|
||||
text-align: left;
|
||||
|
||||
.duration-text-block {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.date-picker-header {
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
flex-grow: 1;
|
||||
position: relative;
|
||||
|
|
|
|||
|
|
@ -83,12 +83,6 @@ export default {
|
|||
return null;
|
||||
},
|
||||
durationTextBlockCopy() {
|
||||
console.log(
|
||||
"durationTextBlockCopy",
|
||||
this.appointmentType,
|
||||
this.estimatedServiceMinutesMaximum,
|
||||
this.estimatedServiceMinutesMinimum
|
||||
);
|
||||
if (this.appointmentType === AppointmentTypeStrings.MOBILE) {
|
||||
return this.mobileDurationText;
|
||||
} else if (this.appointmentType === AppointmentTypeStrings.DROP_OFF) {
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@
|
|||
<div class="col-12 col-md-10 col-lg-8 col-xl-7">
|
||||
<locationAlerts cmsWidgetPrefix="LocationAlert-" ref="locationAlerts" />
|
||||
<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
|
||||
:isSameDay="isSameDay"
|
||||
:appointmentType="appointmentType"
|
||||
|
|
@ -806,12 +806,9 @@ export default {
|
|||
return [];
|
||||
},
|
||||
selectedRouteCodeData() {
|
||||
console.log("1", JSON.stringify(this.selectedTimeSlotInfo));
|
||||
if (!this.selectedTimeSlotInfo?.timeSlot?.routeCode) {
|
||||
console.log("returning null");
|
||||
return null;
|
||||
}
|
||||
console.log("returning data");
|
||||
return {
|
||||
routeCode: this.selectedTimeSlotInfo.timeSlot.routeCode,
|
||||
isPremiumAppointment: this.selectedTimeSlotInfo.isPremiumAppointment,
|
||||
|
|
@ -1608,7 +1605,6 @@ export default {
|
|||
}
|
||||
},
|
||||
updateTimeSlot(timeSlotObj) {
|
||||
console.log("timeSlotObj", timeSlotObj);
|
||||
if (!timeSlotObj?.routeCode) {
|
||||
this.appointmentType = AppointmentTypeStrings.IN_SHOP_OR_DROP_OFF;
|
||||
this.selectedTimeSlotInfo = {
|
||||
|
|
@ -1803,7 +1799,6 @@ export default {
|
|||
}
|
||||
},
|
||||
selectedTimeSlotInfo(newValue) {
|
||||
console.log("heard a change on selectedTimeslotInfo", newValue);
|
||||
this.updateFooterButtonText(newValue);
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue