leezng commented on code in PR #8574:
URL: https://github.com/apache/inlong/pull/8574#discussion_r1268851765
##########
inlong-dashboard/src/ui/pages/GroupDetail/ResourceInfo/index.tsx:
##########
@@ -54,19 +54,32 @@ const Comp = ({ inlongGroupId, isCreate }: Props, ref) => {
for (const key in data[item]) {
content.push({
label: key,
- name: key,
+ name: item + '_' + key,
type: 'text',
initialValue: data[item][key],
});
}
return content;
}
+ if (data[item].constructor === Array) {
+ const infoData = [];
+ for (const key in data[item]) {
+ infoData.push(data['item'][key].url);
Review Comment:
data['item'] ? Is it wrong here?
--
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]