From 54a34e803424f30646af452b7d389bd23d0ca3a8 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Fri, 15 Nov 2024 12:33:56 +0000 Subject: [PATCH 1/2] fix: Redirect to catalog when create new order --- src/pages/Order/OrderList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Order/OrderList.vue b/src/pages/Order/OrderList.vue index 72c9eb7ec..db6f104b1 100644 --- a/src/pages/Order/OrderList.vue +++ b/src/pages/Order/OrderList.vue @@ -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, From 59169235218dfb44be2aabb9e99150636f1badb2 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Fri, 15 Nov 2024 12:51:25 +0000 Subject: [PATCH 2/2] fix: Redirect to catalog when create new order --- src/pages/Order/OrderList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Order/OrderList.vue b/src/pages/Order/OrderList.vue index db6f104b1..52d108595 100644 --- a/src/pages/Order/OrderList.vue +++ b/src/pages/Order/OrderList.vue @@ -191,7 +191,7 @@ const getDateColor = (date) => { urlCreate: 'Orders/new', title: t('module.cerateOrder'), onDataSaved: (url) => { - tableRef.value.redirect(`${url}/catalog`); + tableRef.redirect(`${url}/catalog`); }, formInitialData: { active: true,