@tanstack/react-table 8.5.0 → 8.5.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.
- package/build/cjs/table-core/build/esm/index.js +4 -1
- package/build/cjs/table-core/build/esm/index.js.map +1 -1
- package/build/esm/index.js +4 -1
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +1 -1
- package/build/stats-react.json +17 -17
- package/build/umd/index.development.js +4 -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 +2 -2
|
@@ -1302,8 +1302,11 @@ const Filters = {
|
|
|
1302
1302
|
table.setColumnFilters(defaultState ? [] : (_table$initialState$c = (_table$initialState = table.initialState) == null ? void 0 : _table$initialState.columnFilters) != null ? _table$initialState$c : []);
|
|
1303
1303
|
},
|
|
1304
1304
|
getPreFilteredRowModel: () => table.getCoreRowModel(),
|
|
1305
|
-
_getFilteredRowModel: table.options.getFilteredRowModel && table.options.getFilteredRowModel(table),
|
|
1306
1305
|
getFilteredRowModel: () => {
|
|
1306
|
+
if (!table._getFilteredRowModel && table.options.getFilteredRowModel) {
|
|
1307
|
+
table._getFilteredRowModel = table.options.getFilteredRowModel(table);
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1307
1310
|
if (table.options.manualFiltering || !table._getFilteredRowModel) {
|
|
1308
1311
|
return table.getPreFilteredRowModel();
|
|
1309
1312
|
}
|