Merge pull request 'fix: Redirect to catalog when create new order' (!946) from hotfix_OrderNew_redirectTo_catalog into master
gitea/salix-front/pipeline/head This commit looks good Details

Reviewed-on: #946
Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
Javier Segarra 2024-11-15 12:38:39 +00:00
commit acaf7f2930
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,