Skip to content

Commit 107556e

Browse files
fix: 'reset' was not being passed to getDefaultColumnOrderIds on the reset order handler (#402)
1 parent cf594aa commit 107556e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/mantine-react-table/src/components/menus/MRT_ShowHideColumnsMenu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export const MRT_ShowHideColumnsMenu = <TData extends MRT_RowData>({
8686
<Button
8787
onClick={() =>
8888
table.setColumnOrder(
89-
getDefaultColumnOrderIds(table.options as any),
89+
getDefaultColumnOrderIds(table.options as any, true),
9090
)
9191
}
9292
variant="subtle"

0 commit comments

Comments
 (0)