@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/package.json
CHANGED
|
@@ -692,6 +692,9 @@ export const GridContextProvider = <TData extends GridBaseRow>(props: PropsWithC
|
|
|
692
692
|
const onFilterChanged = useMemo(
|
|
693
693
|
() =>
|
|
694
694
|
debounce(() => {
|
|
695
|
+
if (!gridApi || gridApi?.isDestroyed()) {
|
|
696
|
+
return;
|
|
697
|
+
}
|
|
695
698
|
// This is terrible, but there's no other way for me to check whether a filter has changed the grid
|
|
696
699
|
const getDisplayedRowsHash = () => {
|
|
697
700
|
const arr: any[] = [];
|