diff --git a/src/frontend/src/components/IOInputField/index.tsx b/src/frontend/src/components/IOInputField/index.tsx index e860c922e..f260a2bee 100644 --- a/src/frontend/src/components/IOInputField/index.tsx +++ b/src/frontend/src/components/IOInputField/index.tsx @@ -17,6 +17,9 @@ export default function IOInputField({ onChange={updateValue} /> ); + case "fileInput": + return
; + default: return ( Inputs - {inputIds - .filter((input) => extractTypeFromLongId(input) !== "ChatInput") - .map((inputId, index) => { - const node: NodeType = nodes.find((node) => node.id === inputId)!; + {inputs + .filter((input) => input.type !== "ChatInput") + .map((input, index) => { + const node: NodeType = nodes.find((node) => node.id === input.id)!; return (