diff --git a/src/components/manager/WorkflowListItem.js b/src/components/manager/WorkflowListItem.js index e0df03e6..34303e6f 100644 --- a/src/components/manager/WorkflowListItem.js +++ b/src/components/manager/WorkflowListItem.js @@ -48,11 +48,12 @@ const TYPE_TAG_DISPLAY = { }; const WorkflowInputTag = ({ id, type, children }) => { - const display = useMemo(() => TYPE_TAG_DISPLAY[type.replace("[]", "")], [type]); + const typeNoArray = type.replace("[]", ""); + const display = useMemo(() => TYPE_TAG_DISPLAY[typeNoArray], [type]); return ( {display.icon}  - {id} ({children || type} + {id} ({children || typeNoArray} {type.endsWith("[]") ? " array" : ""}) ); @@ -77,7 +78,7 @@ const WorkflowListItem = ({ onClick, workflow, rightAlignedTags, style }) => { .filter((i) => !i.hidden && !i.injected) // Filter out hidden/injected inputs .map(({ id, type, pattern }) => ( - {type.startsWith("file") ? (pattern ?? "") : ""} + {type.startsWith("file") && ![".*", ".+"].includes(pattern) ? (pattern ?? "") : ""} )), [inputs],