Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Lot / DP Numbers display for NSW Point V3 form element
- disabled on `Clickable` not disabling click function
- column visibility not persisting correctly after re-showing a hidden column in Data View

## [9.1.0] - 2026-02-23

Expand Down
4 changes: 3 additions & 1 deletion src/components/formStore/table/useFormStoreTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,9 @@ export default function useFormStoreTable({
const storageKey = localStorageKey(form.id)
const augmentedState = {
...state,
hiddenColumns: Object.keys(state.columnVisibility),
hiddenColumns: Object.entries(state.columnVisibility)
.filter(([, isVisible]) => !isVisible)
.map(([column]) => column),
Comment on lines +550 to +552
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't decide if I like it or not.

formId: table.options.meta?.formId,
}
localStorage.setItem(storageKey, JSON.stringify(augmentedState))
Expand Down
Loading