diff --git a/src/frontend/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx b/src/frontend/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx index 1432c86d4..7adfeb2d1 100644 --- a/src/frontend/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx +++ b/src/frontend/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx @@ -101,6 +101,7 @@ export default function ParameterComponent({ refHtml.current = groupedObj.map((item, i) => { const Icon: any = nodeIconsLucide[item.family]; + return ( {" "} - -  + {item.type == "" ? '' : ' - '} {item.type.split(", ").length > 2 ? item.type.split(", ").map((el, i) => ( diff --git a/src/frontend/src/utils.ts b/src/frontend/src/utils.ts index 31d2a6149..b40bfd0b0 100644 --- a/src/frontend/src/utils.ts +++ b/src/frontend/src/utils.ts @@ -890,7 +890,7 @@ export function groupByFamily(data, baseClasses, left, type) { groupedArray.forEach((object, index, self) => { const findObj = arrOfLength.find(x => x.type == object.family); if(object.component.length == findObj.length){ - self[index]['type'] = object.type; + self[index]['type'] = ""; } else{ self[index]['type'] = object.component.join(', ');