@tanstack/react-table 8.17.0 → 8.19.1
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.
|
@@ -3225,7 +3225,7 @@
|
|
|
3225
3225
|
resolvedValue: (_filterFn$resolveFilt = filterFn.resolveFilterValue == null ? void 0 : filterFn.resolveFilterValue(d.value)) != null ? _filterFn$resolveFilt : d.value
|
|
3226
3226
|
});
|
|
3227
3227
|
});
|
|
3228
|
-
const filterableIds = columnFilters.map(d => d.id);
|
|
3228
|
+
const filterableIds = (columnFilters != null ? columnFilters : []).map(d => d.id);
|
|
3229
3229
|
const globalFilterFn = table.getGlobalFilterFn();
|
|
3230
3230
|
const globallyFilterableColumns = table.getAllLeafColumns().filter(column => column.getCanGlobalFilter());
|
|
3231
3231
|
if (globalFilter && globalFilterFn && globallyFilterableColumns.length) {
|