галочка сохранения инпутов

This commit is contained in:
2025-07-28 09:35:20 +03:00
parent 4c6deb4563
commit dc667092b3
12 changed files with 399 additions and 212 deletions

View File

@@ -123,13 +123,14 @@ export const CellRenderer = ({
: undefined
// Проверяем, является ли ячейка скопированной
const isCopied =
const isCopied = Boolean(
copiedCells &&
copiedCells.sourceSheet === sheetType &&
copiedCells.data.some(
cell => cell.row === rowIndex && cell.col === columnIndex
)
const isCut = isCopied && copiedCells?.isCut
copiedCells.sourceSheet === sheetType &&
copiedCells.data.some(
cell => cell.row === rowIndex && cell.col === columnIndex
)
)
const isCut = Boolean(isCopied && copiedCells?.isCut)
return (
<Cell