Skip to content

Commit

Permalink
Merge pull request #1283 from rishipurwar1/issue-1282
Browse files Browse the repository at this point in the history
Fix: change the value of the column index
  • Loading branch information
shamsmosowi authored Jun 10, 2023
2 parents cf0a34a + 8de5f68 commit 7cacc2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ColumnMenu/ColumnMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ export default function ColumnMenu({
key: "insertLeft",
icon: <ColumnPlusBeforeIcon />,
onClick: () => {
openColumnModal({ type: "new", index: column.index - 1 });
openColumnModal({ type: "new", index: column.index });
handleClose();
},
disabled: !canAddColumns,
Expand Down

0 comments on commit 7cacc2f

Please sign in to comment.