diff --git a/src/components/CrudModel.vue b/src/components/CrudModel.vue index e8873351d..9bb05d439 100644 --- a/src/components/CrudModel.vue +++ b/src/components/CrudModel.vue @@ -201,7 +201,6 @@ function getChanges() { creates.push(row); } else if (originalData.value) { const data = getDifferences(originalData.value[i], row); - console.log(data); if (!isEmpty(data)) { updates.push({ data, @@ -211,6 +210,7 @@ function getChanges() { } } const changes = { updates, creates }; + for (let prop in changes) { if (changes[prop].length === 0) changes[prop] = undefined; }