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 (#402)
  • Loading branch information
alessandrojcm authored Sep 25, 2024
1 parent cf594aa commit 107556e
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 107556e

Please sign in to comment.