From 4be559bbe8ce672f2348b86407a2ba32624404f7 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Mon, 29 Apr 2024 15:16:37 +0200 Subject: [PATCH] fix: hansChanges to false --- src/components/CrudModel.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/CrudModel.vue b/src/components/CrudModel.vue index 24d848f3b..de4724e55 100644 --- a/src/components/CrudModel.vue +++ b/src/components/CrudModel.vue @@ -131,6 +131,7 @@ async function saveChanges(data) { if ($props.saveFn) { $props.saveFn(data, getChanges); isLoading.value = false; + hasChanges.value = false; return; } const changes = data || getChanges();