forked from verdnatura/salix-front
Reviewed-on: verdnatura/salix-front#434 Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
commit
0cfaef2520
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue