Feat: Add dict and NestedDict as handle types to avoid edit node modal option not showing up
This commit is contained in:
parent
0ef14241f0
commit
1c36520bee
1 changed files with 3 additions and 1 deletions
|
|
@ -43,7 +43,9 @@ export default function NodeToolbarComponent({
|
||||||
data.node.template[templateField].type === "prompt" ||
|
data.node.template[templateField].type === "prompt" ||
|
||||||
data.node.template[templateField].type === "file" ||
|
data.node.template[templateField].type === "file" ||
|
||||||
data.node.template[templateField].type === "Any" ||
|
data.node.template[templateField].type === "Any" ||
|
||||||
data.node.template[templateField].type === "int")
|
data.node.template[templateField].type === "int" ||
|
||||||
|
data.node.template[templateField].type === "dict" ||
|
||||||
|
data.node.template[templateField].type === "NestedDict")
|
||||||
).length
|
).length
|
||||||
);
|
);
|
||||||
const updateNodeInternals = useUpdateNodeInternals();
|
const updateNodeInternals = useUpdateNodeInternals();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue