From cc397f6b2071e0716ef6e2eff3e70f9a1c0cf749 Mon Sep 17 00:00:00 2001 From: jorgep Date: Tue, 13 May 2025 10:30:51 +0200 Subject: [PATCH] fix: refs #8388 ensure navigation occurs after data reload in save function --- src/components/FormModel.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/FormModel.vue b/src/components/FormModel.vue index 771e7c884..c4b706a71 100644 --- a/src/components/FormModel.vue +++ b/src/components/FormModel.vue @@ -247,8 +247,8 @@ async function save() { res: response?.data, old: originalData.value, }); - if ($props.goTo) return push({ path: $props.goTo }); if ($props.reload) await arrayData.fetch({}); + if ($props.goTo) return push({ path: $props.goTo }); hasChanges.value = false; } finally { isLoading.value = false;