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
|
||||
);
|
||||
|
||||
console.log(shopTimeSlots)
|
||||
|
||||
// Rate the availability for the shop
|
||||
let numberOfAppointmentsPerDay = [];
|
||||
for (let i = 0; i < shopTimeSlots.data.days.length; i++) {
|
||||
numberOfAppointmentsPerDay.push(shopTimeSlots.data.days[i].timeSlots.length);
|
||||
}
|
||||
|
||||
console.log(numberOfAppointmentsPerDay)
|
||||
|
||||
const dateRange = 7;
|
||||
const minimumNumberOfAppointmentsPerDay = 1;
|
||||
|
|
|
|||
|
|
@ -73,10 +73,11 @@ export default {
|
|||
},
|
||||
computed: {
|
||||
displayAvailabilityIndicators() {
|
||||
return experimentMixin.methods.hasSettingEqualTo(
|
||||
experimentSettings.DISPLAY_AVAILABILITY_INDICATORS,
|
||||
"true"
|
||||
);
|
||||
return true; //TODO: REMOVE THIS
|
||||
// return experimentMixin.methods.hasSettingEqualTo(
|
||||
// experimentSettings.DISPLAY_AVAILABILITY_INDICATORS,
|
||||
// "true"
|
||||
// );
|
||||
},
|
||||
isLoaderDisplayed() {
|
||||
return this.availabilityRating == null;
|
||||
|
|
|
|||
Loading…
Reference in a new issue