From 8d29bd1b0ad69121021d26df9e8ad2bba3fdc138 Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Fri, 28 Apr 2023 19:46:53 -0300 Subject: [PATCH] hide advanced icon if all the fields aren't advancedand show true --- 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 880d1e7ac..d0f3947b7 100644 --- a/src/frontend/src/CustomNodes/GenericNode/index.tsx +++ b/src/frontend/src/CustomNodes/GenericNode/index.tsx @@ -74,7 +74,7 @@ export default function GenericNode({ data.node.template[t].advanced===true + (t) => data.node.template[t].advanced && data.node.template[t].show ) ? "" : "hidden",