🐛 fix(parameterComponent): fix type comparison for "NestedDict" to improve accuracy and consistency
🐛 fix(EditNodeModal): fix type comparison for "NestedDict" to improve accuracy and consistency
This commit is contained in:
parent
0aa39d8a8e
commit
70d9742d16
2 changed files with 2 additions and 2 deletions
|
|
@ -244,7 +244,7 @@ export default function ParameterComponent({
|
|||
type === "int") &&
|
||||
!optionalHandle ? (
|
||||
<></>
|
||||
) : left === true && type === "nested_dict" ? (
|
||||
) : left === true && type === "NestedDict" ? (
|
||||
<div className="mt-2 w-full">
|
||||
<DictComponent
|
||||
disabled={disabled}
|
||||
|
|
|
|||
|
|
@ -203,7 +203,7 @@ const EditNodeModal = forwardRef(
|
|||
}}
|
||||
/>
|
||||
) : myData.node?.template[templateParam]
|
||||
.type === "nested_dict" ? (
|
||||
.type === "NestedDict" ? (
|
||||
<div className="mt-2 w-full">
|
||||
<DictComponent
|
||||
disabled={disabled}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue