@tanstack/react-table 8.20.1 → 8.20.5
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.
|
@@ -633,8 +633,8 @@
|
|
|
633
633
|
};
|
|
634
634
|
|
|
635
635
|
const includesString = (row, columnId, filterValue) => {
|
|
636
|
-
var _row$getValue;
|
|
637
|
-
const search = filterValue.toLowerCase();
|
|
636
|
+
var _filterValue$toString, _row$getValue;
|
|
637
|
+
const search = filterValue == null || (_filterValue$toString = filterValue.toString()) == null ? void 0 : _filterValue$toString.toLowerCase();
|
|
638
638
|
return Boolean((_row$getValue = row.getValue(columnId)) == null || (_row$getValue = _row$getValue.toString()) == null || (_row$getValue = _row$getValue.toLowerCase()) == null ? void 0 : _row$getValue.includes(search));
|
|
639
639
|
};
|
|
640
640
|
includesString.autoRemove = val => testFalsey(val);
|