исправила копирование данных

This commit is contained in:
PotapovaA 2026-07-22 14:48:34 +03:00
parent 73083153da
commit 562707f418

View File

@ -42,7 +42,7 @@ export function setNewValueToData(data, colId, rowId, value) {
}
export function updateCells(data, newRows) {
const updatedRows = JSON.parse(JSON.stringify(data));
const updatedRows = structuredClone(data);
function deepMerge(target, source) {
if (!source || typeof source !== "object") {