@linzjs/step-ag-grid 27.2.1 → 27.2.2
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/dist/step-ag-grid.esm.js
CHANGED
|
@@ -5516,6 +5516,9 @@ const GridContextProvider = (props) => {
|
|
|
5516
5516
|
}
|
|
5517
5517
|
}, 50), [gridApi]);
|
|
5518
5518
|
const onFilterChanged = useMemo(() => debounce(() => {
|
|
5519
|
+
if (!gridApi || gridApi?.isDestroyed()) {
|
|
5520
|
+
return;
|
|
5521
|
+
}
|
|
5519
5522
|
// This is terrible, but there's no other way for me to check whether a filter has changed the grid
|
|
5520
5523
|
const getDisplayedRowsHash = () => {
|
|
5521
5524
|
const arr = [];
|