fix: correct issue with The "No suitable component" error is appearing on the OpenAI component and other components due to a missing check (#3279)
This commit is contained in:
parent
583bc74019
commit
1789e2da63
1 changed files with 3 additions and 2 deletions
|
|
@ -137,8 +137,9 @@ export default function NodeInputField({
|
|||
)}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{displayHandle && (
|
||||
{(Array.isArray(displayHandle)
|
||||
? displayHandle.length > 0
|
||||
: displayHandle) && (
|
||||
<HandleRenderComponent
|
||||
left={true}
|
||||
nodes={nodes}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue