From a4deaf4be94cbc087c24ca4179a4b6ebabafb224 Mon Sep 17 00:00:00 2001 From: jorgep Date: Tue, 6 Feb 2024 15:13:43 +0100 Subject: [PATCH] fix: refs refs #4466 console log --- src/components/CrudModel.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }