@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.
@@ -1300,8 +1300,11 @@ const Filters = {
1300
1300
  table.setColumnFilters(defaultState ? [] : (_table$initialState$c = (_table$initialState = table.initialState) == null ? void 0 : _table$initialState.columnFilters) != null ? _table$initialState$c : []);
1301
1301
  },
1302
1302
  getPreFilteredRowModel: () => table.getCoreRowModel(),
1303
- _getFilteredRowModel: table.options.getFilteredRowModel && table.options.getFilteredRowModel(table),
1304
1303
  getFilteredRowModel: () => {
1304
+ if (!table._getFilteredRowModel && table.options.getFilteredRowModel) {
1305
+ table._getFilteredRowModel = table.options.getFilteredRowModel(table);
1306
+ }
1307
+
1305
1308
  if (table.options.manualFiltering || !table._getFilteredRowModel) {
1306
1309
  return table.getPreFilteredRowModel();
1307
1310
  }