leezng commented on code in PR #8045:
URL: https://github.com/apache/inlong/pull/8045#discussion_r1197264337
##########
inlong-dashboard/src/ui/pages/ClusterTags/ClusterBindModal.tsx:
##########
@@ -79,7 +80,9 @@ const Comp: React.FC<Props> = ({ clusterTag, ...modalProps })
=> {
formatResult: result =>
result?.list?.map(item => ({
...item,
- label: `${item.name} (${item.type})`,
+ label: `${item.displayName} (${
Review Comment:
Can you make a compatibility here: when `DisplayName` does not exist,
display` name`. Avoid the `null` in the screenshot.
--
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]