This is an automated email from the ASF dual-hosted git repository. dockerzhang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/inlong.git
The following commit(s) were added to refs/heads/master by this push: new 8d3d3234a8 [INLONG-8810][Dashboard] Approval management process ID link optimization (#8811) 8d3d3234a8 is described below commit 8d3d3234a825d6e295b01e811ce4989fe0ccfcc1 Author: Lizhen <88174078+bluew...@users.noreply.github.com> AuthorDate: Tue Aug 29 14:10:36 2023 +0800 [INLONG-8810][Dashboard] Approval management process ID link optimization (#8811) --- inlong-dashboard/src/ui/pages/Process/Applies/config.tsx | 8 +++++++- inlong-dashboard/src/ui/pages/Process/Approvals/config.tsx | 6 +++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/inlong-dashboard/src/ui/pages/Process/Applies/config.tsx b/inlong-dashboard/src/ui/pages/Process/Applies/config.tsx index 1dfb15638d..b4cee460c1 100644 --- a/inlong-dashboard/src/ui/pages/Process/Applies/config.tsx +++ b/inlong-dashboard/src/ui/pages/Process/Applies/config.tsx @@ -53,7 +53,13 @@ export const getColumns = activedName => [ title: i18n.t('pages.Approvals.ProcessID'), dataIndex: 'id', width: 90, - render: text => <Link to={`/process/${activedName}/${text}`}>{text}</Link>, + render: (text, record) => ( + <Link + to={`/process/${activedName}/${text}?inlongGroupMode=${record.showInList?.inlongGroupMode}`} + > + {text} + </Link> + ), }, { title: i18n.t('pages.Approvals.ApplicationType'), diff --git a/inlong-dashboard/src/ui/pages/Process/Approvals/config.tsx b/inlong-dashboard/src/ui/pages/Process/Approvals/config.tsx index 881829e41b..7b046f8498 100644 --- a/inlong-dashboard/src/ui/pages/Process/Approvals/config.tsx +++ b/inlong-dashboard/src/ui/pages/Process/Approvals/config.tsx @@ -58,7 +58,11 @@ export const getColumns = activedName => [ title: i18n.t('pages.Approvals.ProcessID'), dataIndex: 'processId', render: (text, record) => ( - <Link to={`/process/${activedName}/${text}?taskId=${record.id}`}>{text}</Link> + <Link + to={`/process/${activedName}/${text}?taskId=${record.id}&inlongGroupMode=${record.showInList?.inlongGroupMode}`} + > + {text} + </Link> ), }, {