From 6de7696fd13cc3897a0d8782a7ede0cae3559b05 Mon Sep 17 00:00:00 2001 From: jorgep Date: Fri, 5 Jul 2024 16:00:37 +0200 Subject: [PATCH] fix: refs #7197 rollback crudModel --- src/components/CrudModel.vue | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/components/CrudModel.vue b/src/components/CrudModel.vue index 4f90159be..9c8d6472d 100644 --- a/src/components/CrudModel.vue +++ b/src/components/CrudModel.vue @@ -161,7 +161,7 @@ async function onSubmit() { await saveChanges($props.saveFn ? formData.value : null); } -async function onSumbitAndGo() { +async function onSubmitAndGo() { await onSubmit(); push({ path: $props.goTo }); } @@ -326,8 +326,11 @@ watch(formUrl, async () => { > - - + + { />