change fn name
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
William Buezas 2024-05-29 16:27:44 -03:00
parent 1414b93633
commit 56dd5e0a76
1 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ const newAccountForm = reactive({
}); });
const rolesOptions = ref([]); const rolesOptions = ref([]);
const redirectToEntryBasicData = (_, { id }) => { const redirectToAccountBasicData = (_, { id }) => {
router.push({ name: 'AccountBasicData', params: { id } }); router.push({ name: 'AccountBasicData', params: { id } });
}; };
</script> </script>
@ -51,7 +51,7 @@ const redirectToEntryBasicData = (_, { id }) => {
url-create="VnUsers" url-create="VnUsers"
model="users" model="users"
:form-initial-data="newAccountForm" :form-initial-data="newAccountForm"
@on-data-saved="redirectToEntryBasicData" @on-data-saved="redirectToAccountBasicData"
> >
<template #form="{ data, validate }"> <template #form="{ data, validate }">
<VnRow class="row q-gutter-md q-mb-md"> <VnRow class="row q-gutter-md q-mb-md">