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}` })" >