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>
|
||||||
</div>
|
</div>
|
||||||
|
{(Array.isArray(displayHandle)
|
||||||
{displayHandle && (
|
? displayHandle.length > 0
|
||||||
|
: displayHandle) && (
|
||||||
<HandleRenderComponent
|
<HandleRenderComponent
|
||||||
left={true}
|
left={true}
|
||||||
nodes={nodes}
|
nodes={nodes}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue