Removed testing code and uncommented real code
This commit is contained in:
parent
9a88b08f02
commit
818ca49af7
2 changed files with 4 additions and 6 deletions
|
|
@ -189,7 +189,6 @@ jest.mock("@/mixins/base-mixin.js", () => ({
|
||||||
}
|
}
|
||||||
|
|
||||||
if (actionName === mockStoreActionGetShopTimeSlots) {
|
if (actionName === mockStoreActionGetShopTimeSlots) {
|
||||||
console.log(request);
|
|
||||||
if (request.providerNumber == "0000001") {
|
if (request.providerNumber == "0000001") {
|
||||||
return Promise.resolve(mockGetShopTimeSlotsGoodAvailability);
|
return Promise.resolve(mockGetShopTimeSlotsGoodAvailability);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -73,11 +73,10 @@ export default {
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
displayAvailabilityIndicators() {
|
displayAvailabilityIndicators() {
|
||||||
return true; //TODO: REMOVE THIS
|
return experimentMixin.methods.hasSettingEqualTo(
|
||||||
// return experimentMixin.methods.hasSettingEqualTo(
|
experimentSettings.DISPLAY_AVAILABILITY_INDICATORS,
|
||||||
// experimentSettings.DISPLAY_AVAILABILITY_INDICATORS,
|
"true"
|
||||||
// "true"
|
);
|
||||||
// );
|
|
||||||
},
|
},
|
||||||
isLoaderDisplayed() {
|
isLoaderDisplayed() {
|
||||||
return this.availabilityRating == null;
|
return this.availabilityRating == null;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue