From 709082f2f08f10679b9dd52af0e2b1429a2695d0 Mon Sep 17 00:00:00 2001 From: ogabrielluiz Date: Thu, 30 May 2024 22:45:44 -0300 Subject: [PATCH] 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. --- src/frontend/src/customNodes/genericNode/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/customNodes/genericNode/index.tsx b/src/frontend/src/customNodes/genericNode/index.tsx index ef73e72cc..a78b78088 100644 --- a/src/frontend/src/customNodes/genericNode/index.tsx +++ b/src/frontend/src/customNodes/genericNode/index.tsx @@ -892,7 +892,7 @@ export default function GenericNode({ nodeColors[types[data.type]] ?? nodeColors.unknown } - title={output.selected ?? output.types[0]} + title={output.name} tooltipTitle={output.selected ?? output.types[0]} id={{ baseClasses: [output.selected ?? output.types[0]],