form-4-add-row #54
@ -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") {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user