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 ? ( <>
@@ -284,5 +284,7 @@ export default function NodeStatus({
+ ) : ( + <> ); } diff --git a/src/frontend/src/CustomNodes/GenericNode/index.tsx b/src/frontend/src/CustomNodes/GenericNode/index.tsx index b14d25fce..e6a8ad6a8 100644 --- a/src/frontend/src/CustomNodes/GenericNode/index.tsx +++ b/src/frontend/src/CustomNodes/GenericNode/index.tsx @@ -341,10 +341,8 @@ export default function GenericNode({
@@ -357,8 +355,9 @@ export default function GenericNode({ className="h-[18px] w-[18px] shrink-0" /> - Update Ready + {showNode && "Update Ready"} +
- {showNode && ( - - )} +
{showNode && (