some debugging code added
This commit is contained in:
parent
d1b49a56f2
commit
97ca23bc93
2 changed files with 9 additions and 4 deletions
|
|
@ -62,11 +62,15 @@ export async function getAvailabilityRating(
|
||||||
false
|
false
|
||||||
);
|
);
|
||||||
|
|
||||||
|
console.log(shopTimeSlots)
|
||||||
|
|
||||||
// Rate the availability for the shop
|
// Rate the availability for the shop
|
||||||
let numberOfAppointmentsPerDay = [];
|
let numberOfAppointmentsPerDay = [];
|
||||||
for (let i = 0; i < shopTimeSlots.data.days.length; i++) {
|
for (let i = 0; i < shopTimeSlots.data.days.length; i++) {
|
||||||
numberOfAppointmentsPerDay.push(shopTimeSlots.data.days[i].timeSlots.length);
|
numberOfAppointmentsPerDay.push(shopTimeSlots.data.days[i].timeSlots.length);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.log(numberOfAppointmentsPerDay)
|
||||||
|
|
||||||
const dateRange = 7;
|
const dateRange = 7;
|
||||||
const minimumNumberOfAppointmentsPerDay = 1;
|
const minimumNumberOfAppointmentsPerDay = 1;
|
||||||
|
|
|
||||||
|
|
@ -73,10 +73,11 @@ export default {
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
displayAvailabilityIndicators() {
|
displayAvailabilityIndicators() {
|
||||||
return experimentMixin.methods.hasSettingEqualTo(
|
return true; //TODO: REMOVE THIS
|
||||||
experimentSettings.DISPLAY_AVAILABILITY_INDICATORS,
|
// return experimentMixin.methods.hasSettingEqualTo(
|
||||||
"true"
|
// experimentSettings.DISPLAY_AVAILABILITY_INDICATORS,
|
||||||
);
|
// "true"
|
||||||
|
// );
|
||||||
},
|
},
|
||||||
isLoaderDisplayed() {
|
isLoaderDisplayed() {
|
||||||
return this.availabilityRating == null;
|
return this.availabilityRating == null;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue