Merge pull request #1201 from Safelite/defect/CSR-1494

Removed testing code and uncommented real code
This commit is contained in:
Leah Schumann 2023-06-30 14:43:43 -04:00 committed by GitHub
commit b5e307b72c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;