Fix: change the value of the column index

This commit is contained in:
rishipurwar1
2023-06-08 12:58:03 +05:30
parent 5708153798
commit 8de5f68f56

View File

@@ -418,7 +418,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,