@tanstack/table-core 8.16.0 → 8.17.3
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/build/lib/index.esm.js +1 -1
- package/build/lib/index.esm.js.map +1 -1
- package/build/lib/index.mjs +1 -1
- package/build/lib/index.mjs.map +1 -1
- package/build/lib/utils/getFilteredRowModel.js +1 -1
- package/build/lib/utils/getFilteredRowModel.js.map +1 -1
- package/build/umd/index.development.js +1 -1
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js +1 -1
- package/build/umd/index.production.js.map +1 -1
- package/package.json +1 -1
- package/src/utils/getFilteredRowModel.ts +1 -1
package/build/lib/index.esm.js
CHANGED
|
@@ -3192,7 +3192,7 @@ function getFilteredRowModel() {
|
|
|
3192
3192
|
resolvedValue: (_filterFn$resolveFilt = filterFn.resolveFilterValue == null ? void 0 : filterFn.resolveFilterValue(d.value)) != null ? _filterFn$resolveFilt : d.value
|
|
3193
3193
|
});
|
|
3194
3194
|
});
|
|
3195
|
-
const filterableIds = columnFilters.map(d => d.id);
|
|
3195
|
+
const filterableIds = (columnFilters != null ? columnFilters : []).map(d => d.id);
|
|
3196
3196
|
const globalFilterFn = table.getGlobalFilterFn();
|
|
3197
3197
|
const globallyFilterableColumns = table.getAllLeafColumns().filter(column => column.getCanGlobalFilter());
|
|
3198
3198
|
if (globalFilter && globalFilterFn && globallyFilterableColumns.length) {
|