@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.
@@ -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
  }