0
0
Fork 0

fix: hansChanges to false

This commit is contained in:
Javier Segarra 2024-04-29 15:16:37 +02:00
parent 0b5aea76d9
commit 4be559bbe8
1 changed files with 1 additions and 0 deletions

View File

@ -131,6 +131,7 @@ async function saveChanges(data) {
if ($props.saveFn) { if ($props.saveFn) {
$props.saveFn(data, getChanges); $props.saveFn(data, getChanges);
isLoading.value = false; isLoading.value = false;
hasChanges.value = false;
return; return;
} }
const changes = data || getChanges(); const changes = data || getChanges();