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