remove some console log
This commit is contained in:
parent
6b9ed59cfc
commit
50fa11a2b5
3 changed files with 1 additions and 16 deletions
|
|
@ -171,10 +171,6 @@ export default {
|
|||
const { modelValue } = deepClone(props);
|
||||
const initialValue = modelValue;
|
||||
|
||||
console.log('DatePicker setup called with modelValue: ');
|
||||
console.log(modelValue);
|
||||
console.log(props.validationRules);
|
||||
|
||||
const fieldOptions = {
|
||||
value: modelValue,
|
||||
initialValue
|
||||
|
|
@ -459,8 +455,6 @@ export default {
|
|||
});
|
||||
},
|
||||
async setCalendarData(config = {}) {
|
||||
console.log('DatePicker: setCalendarData called:');
|
||||
console.log(config);
|
||||
config.initialShopTimeSlotsResponse.days.forEach((selectableDate) => {
|
||||
const dateObjectToPush = {
|
||||
date: selectableDate.date,
|
||||
|
|
|
|||
|
|
@ -278,8 +278,6 @@ export default {
|
|||
return useMainStore().order.serviceLocation.appointmentType;
|
||||
},
|
||||
isFormValid() {
|
||||
console.log('isFormValid called');
|
||||
console.log(this.selectedTimeSlotInfo);
|
||||
const hasTimeSlotSelected = this.selectedTimeSlotInfo?.id != null;
|
||||
return hasTimeSlotSelected;
|
||||
},
|
||||
|
|
@ -351,25 +349,20 @@ export default {
|
|||
return selectedTimeSlotInfo;
|
||||
},
|
||||
dateSelectedFromPicker(date) {
|
||||
console.log('schedule-page: dateSelectedFromPicker called');
|
||||
console.log(date);
|
||||
this.selectedDate = date;
|
||||
this.showDatePickerError = false;
|
||||
},
|
||||
timeSlotSelectedFromPicker(timeSlot) {
|
||||
console.log('schedule-page: timeSlotSelectedFromPicker called');
|
||||
console.log(timeSlot);
|
||||
this.selectedTimeSlotInfo = timeSlot;
|
||||
this.showDatePickerError = false;
|
||||
},
|
||||
forwardButtonAction() {
|
||||
console.log('forwardButtonAction called');
|
||||
if (!this.isFormValid) {
|
||||
this.showDatePickerError = true;
|
||||
return;
|
||||
}
|
||||
this.mainStore.saveSchedule(this.selectedTimeSlotInfo.timeSlot);
|
||||
|
||||
this.mainStore.saveSchedule(this.selectedTimeSlotInfo.timeSlot);
|
||||
this.$router.navigate(
|
||||
this.navigationScenarios.CLICKED_FORWARD,
|
||||
this.$route
|
||||
|
|
|
|||
|
|
@ -136,7 +136,6 @@ const router = createRouter({
|
|||
router.beforeEach(async (to, from) => {
|
||||
const fromQueryPage = from.query?.issPage;
|
||||
if (fromQueryPage === undefined) {
|
||||
console.log('router.beforeEach: showing loading modal');
|
||||
showIssLoadingModal(true);
|
||||
}
|
||||
|
||||
|
|
@ -289,7 +288,6 @@ function navigate(
|
|||
}
|
||||
|
||||
if (forceSpinner) {
|
||||
console.log('navigate: showing loading modal');
|
||||
showIssLoadingModal(true);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue