#7356 - TicketServices and CrudModel updates #1479

Merged
jsegarra merged 6 commits from 7356_ticketService into test 2025-03-03 12:06:24 +00:00
1 changed files with 4 additions and 1 deletions
Showing only changes of commit e0524bdecf - Show all commits

View File

@ -184,8 +184,11 @@ async function saveChanges(data) {
if ($props.beforeSaveFn) {
changes = await $props.beforeSaveFn(changes, getChanges);
}
try {
if (changes.creates.length === 0 && changes.updates.length === 0) {
return;
}
await axios.post($props.saveUrl || $props.url + '/crud', changes);
} finally {
isLoading.value = false;