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 () => { > - - + + { />