галочка сохранения инпутов
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user