@tanstack/svelte-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.
|
@@ -614,8 +614,8 @@
|
|
|
614
614
|
};
|
|
615
615
|
|
|
616
616
|
const includesString = (row, columnId, filterValue) => {
|
|
617
|
-
var _row$getValue;
|
|
618
|
-
const search = filterValue.toLowerCase();
|
|
617
|
+
var _filterValue$toString, _row$getValue;
|
|
618
|
+
const search = filterValue == null || (_filterValue$toString = filterValue.toString()) == null ? void 0 : _filterValue$toString.toLowerCase();
|
|
619
619
|
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));
|
|
620
620
|
};
|
|
621
621
|
includesString.autoRemove = val => testFalsey(val);
|