From 992249c63886be023111d7eeeeacc42c5aabda85 Mon Sep 17 00:00:00 2001 From: jorgep Date: Mon, 10 Jun 2024 17:06:28 +0200 Subject: [PATCH] fix: refs #6273 redirect --- src/pages/Worker/WorkerCreate.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Worker/WorkerCreate.vue b/src/pages/Worker/WorkerCreate.vue index ebde15b72..5e81a3070 100644 --- a/src/pages/Worker/WorkerCreate.vue +++ b/src/pages/Worker/WorkerCreate.vue @@ -86,7 +86,7 @@ onBeforeMount(async () => { url-create="Workers/new" model="worker" :form-initial-data="formData" - @on-data-saved="({ id }) => $router.push({ path: `/worker/${id}` })" + @on-data-saved="(__, { id }) => $router.push({ path: `/worker/${id}` })" >