fix: refs #7356 chaining params

This commit is contained in:
Javier Segarra 2025-03-03 10:19:19 +01:00
parent 947024ef56
commit 967848c790
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ async function saveChanges(data) {
changes = await $props.beforeSaveFn(changes, getChanges); changes = await $props.beforeSaveFn(changes, getChanges);
} }
try { try {
if (changes.creates.length === 0 && changes.updates.length === 0) { if (changes?.creates?.length === 0 && changes?.updates?.length === 0) {
return; return;
} }