fix: Redirect to catalog when create new order #946

Merged
jsegarra merged 1 commits from hotfix_OrderNew_redirectTo_catalog into master 2024-11-15 12:38:40 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 54a34e8034 - Show all commits

View File

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