fix: Redirect to catalog when create new order
gitea/salix-front/pipeline/pr-master This commit looks good Details

This commit is contained in:
Javier Segarra 2024-11-15 12:33:56 +00:00
parent f03e5dc412
commit 54a34e8034
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ const getDateColor = (date) => {
urlCreate: 'Orders/new',
title: t('module.cerateOrder'),
onDataSaved: (url) => {
tableRef.redirect(url);
tableRef.value.redirect(`${url}/catalog`);
},
formInitialData: {
active: true,