feat: Update title in GenericNode component
This commit updates the title in the GenericNode component to use the `name` property instead of the `selected` or `types[0]` properties. This change improves the accuracy and clarity of the code.
This commit is contained in:
parent
82fcdfb67a
commit
709082f2f0
1 changed files with 1 additions and 1 deletions
|
|
@ -892,7 +892,7 @@ export default function GenericNode({
|
||||||
nodeColors[types[data.type]] ??
|
nodeColors[types[data.type]] ??
|
||||||
nodeColors.unknown
|
nodeColors.unknown
|
||||||
}
|
}
|
||||||
title={output.selected ?? output.types[0]}
|
title={output.name}
|
||||||
tooltipTitle={output.selected ?? output.types[0]}
|
tooltipTitle={output.selected ?? output.types[0]}
|
||||||
id={{
|
id={{
|
||||||
baseClasses: [output.selected ?? output.types[0]],
|
baseClasses: [output.selected ?? output.types[0]],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue