Skip to content

Commit

Permalink
fix localstorage filters (#1468)
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanmau authored Sep 4, 2024
1 parent 97ae52d commit 04077c8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "17.0.0",
"version": "17.0.1",
"license": "MIT",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down Expand Up @@ -144,4 +144,4 @@
"*.{ts,tsx}": "eslint --cache --fix",
"*.{ts,tsx,js,css,md}": "prettier --write"
}
}
}
2 changes: 1 addition & 1 deletion src/components/data-grid/DataGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ export const DataGrid = ({
const onFirstDataRendered = () => {
const activeView = allViews?.find((view) => view.active);
if (activeView && activeView.viewState) {
return setViewState(gridApi, activeView.viewState);
setViewState(gridApi, activeView.viewState);
}

return setFilterDefaultValues();
Expand Down

0 comments on commit 04077c8

Please sign in to comment.