leezng commented on code in PR #8293:
URL: https://github.com/apache/inlong/pull/8293#discussion_r1236182232
##########
inlong-dashboard/src/ui/pages/Process/Approvals/config.tsx:
##########
@@ -73,6 +74,17 @@ export const getColumns = activedName => [
dataIndex: 'inlongGroupId',
render: (text, record) => record.showInList?.inlongGroupId,
},
+ {
+ title: i18n.t('pages.Approvals.GroupMode'),
+ dataIndex: 'inlongGroupMode',
+ render: (text, record) => {
+ return record.showInList?.inlongGroupMode === 1 ? (
+ <Tag color="green">{i18n.t('pages.Approvals.GroupMode.DataSync')}</Tag>
Review Comment:
I think this can use the system's `StatusTag` component to maintain the
unity of the Tag UI of the entire system.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]