Removed testing code and uncommented real code

This commit is contained in:
Leah Schumann 2023-06-30 14:36:30 -04:00
parent 9a88b08f02
commit 818ca49af7
2 changed files with 4 additions and 6 deletions

View file

@ -189,7 +189,6 @@ jest.mock("@/mixins/base-mixin.js", () => ({
}
if (actionName === mockStoreActionGetShopTimeSlots) {
console.log(request);
if (request.providerNumber == "0000001") {
return Promise.resolve(mockGetShopTimeSlotsGoodAvailability);
}

View file

@ -73,11 +73,10 @@ export default {
},
computed: {
displayAvailabilityIndicators() {
return true; //TODO: REMOVE THIS
// return experimentMixin.methods.hasSettingEqualTo(
// experimentSettings.DISPLAY_AVAILABILITY_INDICATORS,
// "true"
// );
return experimentMixin.methods.hasSettingEqualTo(
experimentSettings.DISPLAY_AVAILABILITY_INDICATORS,
"true"
);
},
isLoaderDisplayed() {
return this.availabilityRating == null;