From 42f8c4b20fd96fdb3a7bf7fcae61bfbe560417d8 Mon Sep 17 00:00:00 2001 From: Lucas Oliveira <62335616+lucaseduoli@users.noreply.github.com> Date: Thu, 28 Nov 2024 09:06:23 -0300 Subject: [PATCH] fix: update minimized component outdated design (#4896) * Fix nodeStatus to show only when showNode is true * Removed unused classes and made update not appear wrong on minimized components --- .../components/NodeStatus/index.tsx | 4 +- .../src/CustomNodes/GenericNode/index.tsx | 37 +++++++++---------- 2 files changed, 20 insertions(+), 21 deletions(-) diff --git a/src/frontend/src/CustomNodes/GenericNode/components/NodeStatus/index.tsx b/src/frontend/src/CustomNodes/GenericNode/components/NodeStatus/index.tsx index bdd1ec358..4b411192c 100644 --- a/src/frontend/src/CustomNodes/GenericNode/components/NodeStatus/index.tsx +++ b/src/frontend/src/CustomNodes/GenericNode/components/NodeStatus/index.tsx @@ -190,7 +190,7 @@ export default function NodeStatus({ return "Run component"; }; - return ( + return showNode ? ( <>