Skip to content

Commit

Permalink
fix: 'reset' was not being passed to getDefaultColumnOrderIds on the …
Browse files Browse the repository at this point in the history
…reset order handler
  • Loading branch information
alessandrojcm committed Aug 27, 2024
1 parent 3bfa3b0 commit 5209759
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export const MRT_ShowHideColumnsMenu = <TData extends MRT_RowData>({
<Button
onClick={() =>
table.setColumnOrder(
getDefaultColumnOrderIds(table.options as any),
getDefaultColumnOrderIds(table.options as any, true),
)
}
variant="subtle"
Expand Down

0 comments on commit 5209759

Please sign in to comment.