diff --git a/src/app/(main)/boards/[boardId]/BoardEditRow.tsx b/src/app/(main)/boards/[boardId]/BoardEditRow.tsx index e57be12c1..f6306ffa9 100644 --- a/src/app/(main)/boards/[boardId]/BoardEditRow.tsx +++ b/src/app/(main)/boards/[boardId]/BoardEditRow.tsx @@ -37,6 +37,9 @@ export function BoardEditRow({ }) { const { board, updateBoard } = useBoard(); const [showActions, setShowActions] = useState(false); + const moveUpDisabled = rowIndex === 0; + const addColumnDisabled = columns.length >= MAX_COLUMNS; + const moveDownDisabled = rowIndex === rowCount - 1; const handleGroupRef = (ref: GroupImperativeHandle | null) => { onRegisterRef(rowId, ref); @@ -146,8 +149,13 @@ export function BoardEditRow({ style={{ transform: 'translateY(-50%)' }} > - @@ -157,9 +165,10 @@ export function BoardEditRow({ @@ -177,9 +186,10 @@ export function BoardEditRow({