#6273 fix redirect #434

Merged
jorgep merged 2 commits from 6273-fixRedirect into dev 2024-06-11 07:18:15 +00:00
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ onBeforeMount(async () => {
url-create="Workers/new" url-create="Workers/new"
model="worker" model="worker"
:form-initial-data="formData" :form-initial-data="formData"
@on-data-saved="({ id }) => $router.push({ path: `/worker/${id}` })" @on-data-saved="(__, { id }) => $router.push({ path: `/worker/${id}` })"
> >
<template #form="{ data, validate }"> <template #form="{ data, validate }">
<VnRow> <VnRow>