turf-common 1.2.1-beta.62 → 1.2.1-beta.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -197,7 +197,7 @@ var TurfAvailability = /** @class */ (function () {
|
|
|
197
197
|
var weekDays = ((_a = eventCodes[4]) === null || _a === void 0 ? void 0 : _a.split(",").map(Number)) || [-1];
|
|
198
198
|
var startDateCode = dateCodeRange.slice(0, 6);
|
|
199
199
|
var endDateCode = dateCodeRange.slice(6, 12);
|
|
200
|
-
var bookingDateCodes = weekDays.includes(-1)
|
|
200
|
+
var bookingDateCodes = !weekDays.includes(-1)
|
|
201
201
|
? _utils_1.dateUtilService.getBookingCodeByWeekDaysAndDateRange(startDateCode, endDateCode, weekDays)
|
|
202
202
|
: [];
|
|
203
203
|
return {
|