Fix: Dynamic tooltipTitle, id mapping bugfix for last ParameterComponent of GenericNode.
This commit is contained in:
parent
f8bfed901f
commit
9c6b6a6c4d
1 changed files with 2 additions and 2 deletions
|
|
@ -80,8 +80,8 @@ export default function GenericNode({ data, selected}:{data:NodeDataType,selecte
|
||||||
data={data}
|
data={data}
|
||||||
color={nodeColors[types[data.type]]}
|
color={nodeColors[types[data.type]]}
|
||||||
title={data.type}
|
title={data.type}
|
||||||
tooltipTitle={"Type: str"}
|
tooltipTitle={`Type: ${data.node.base_classes.join(' | ')}`}
|
||||||
id={data.type + "|" + data.id + data.node.base_classes.map((b) => ("|" + b))}
|
id={[data.type, data.id, ...data.node.base_classes].join('|')}
|
||||||
type={'str'}
|
type={'str'}
|
||||||
left={false}
|
left={false}
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue