@prt-ts/fluent-react-table-v2 9.46.8-build.3.0 → 9.46.8-build.4.0
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.
- package/index.cjs.js +1 -1
- package/index.esm.js +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -1192,7 +1192,7 @@ const arrIncludesSome = (row, columnId, value) => {
|
|
|
1192
1192
|
var _a;
|
|
1193
1193
|
// Rank the item
|
|
1194
1194
|
const rowValue = row.getValue(columnId);
|
|
1195
|
-
const lowerCaseValues = value.map((v) => `${v || ''}`.toLowerCase());
|
|
1195
|
+
const lowerCaseValues = (value || []).map((v) => `${v || ''}`.toLowerCase());
|
|
1196
1196
|
const passed = Array.isArray(value) &&
|
|
1197
1197
|
((value === null || value === void 0 ? void 0 : value.length) === 0 || lowerCaseValues.includes((_a = `${rowValue}`) === null || _a === void 0 ? void 0 : _a.toLowerCase()));
|
|
1198
1198
|
return passed;
|
package/index.esm.js
CHANGED
|
@@ -1170,7 +1170,7 @@ const arrIncludesSome = (row, columnId, value) => {
|
|
|
1170
1170
|
var _a;
|
|
1171
1171
|
// Rank the item
|
|
1172
1172
|
const rowValue = row.getValue(columnId);
|
|
1173
|
-
const lowerCaseValues = value.map((v) => `${v || ''}`.toLowerCase());
|
|
1173
|
+
const lowerCaseValues = (value || []).map((v) => `${v || ''}`.toLowerCase());
|
|
1174
1174
|
const passed = Array.isArray(value) &&
|
|
1175
1175
|
((value === null || value === void 0 ? void 0 : value.length) === 0 || lowerCaseValues.includes((_a = `${rowValue}`) === null || _a === void 0 ? void 0 : _a.toLowerCase()));
|
|
1176
1176
|
return passed;
|