0
0
Fork 0

fix: refs refs #4466 console log

This commit is contained in:
Jorge Penadés 2024-02-06 15:13:43 +01:00
parent b80fbdbb6d
commit a4deaf4be9
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,6 @@ function getChanges() {
creates.push(row); creates.push(row);
} else if (originalData.value) { } else if (originalData.value) {
const data = getDifferences(originalData.value[i], row); const data = getDifferences(originalData.value[i], row);
console.log(data);
if (!isEmpty(data)) { if (!isEmpty(data)) {
updates.push({ updates.push({
data, data,
@ -211,6 +210,7 @@ function getChanges() {
} }
} }
const changes = { updates, creates }; const changes = { updates, creates };
for (let prop in changes) { for (let prop in changes) {
if (changes[prop].length === 0) changes[prop] = undefined; if (changes[prop].length === 0) changes[prop] = undefined;
} }