This is an automated email from the ASF dual-hosted git repository. dockerzhang pushed a commit to branch branch-1.12 in repository https://gitbox.apache.org/repos/asf/inlong.git
commit 7d469da4ba20c4af201c31651c20168567b0ba12 Author: haifxu <[email protected]> AuthorDate: Tue Apr 23 15:18:33 2024 +0800 [INLONG-10045][Dashboard] Supports one approval order containing multiple inlongGroups (#10046) --- inlong-dashboard/src/ui/pages/Process/Approvals/config.tsx | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/inlong-dashboard/src/ui/pages/Process/Approvals/config.tsx b/inlong-dashboard/src/ui/pages/Process/Approvals/config.tsx index 99a235179f..0956f5dba7 100644 --- a/inlong-dashboard/src/ui/pages/Process/Approvals/config.tsx +++ b/inlong-dashboard/src/ui/pages/Process/Approvals/config.tsx @@ -76,13 +76,21 @@ export const getColumns = activedName => [ { title: i18n.t('pages.Approvals.GroupId'), dataIndex: 'inlongGroupId', - render: (text, record) => record.showInList?.inlongGroupId, + render: (text, record) => + record.showInList + ?.filter(item => item.inlongGroupId) + ?.map(item => item.inlongGroupId) + .join(';'), }, { title: i18n.t('pages.Approvals.ConsumeName'), dataIndex: 'consumerGroup', width: 200, - render: (text, record) => record.showInList?.consumerGroup, + render: (text, record) => + record.showInList + ?.filter(item => item.consumerGroup) + ?.map(item => item.consumerGroup) + .join(';'), }, { title: i18n.t('pages.Approvals.GroupMode'),
