From 8f8b921ead894cf0ee11166c83c06041500f02e7 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Thu, 22 Feb 2024 16:27:57 -0300 Subject: [PATCH] Fix code field visibility in group node template --- src/frontend/src/utils/reactflowUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/utils/reactflowUtils.ts b/src/frontend/src/utils/reactflowUtils.ts index b50c6d05a..75314b274 100644 --- a/src/frontend/src/utils/reactflowUtils.ts +++ b/src/frontend/src/utils/reactflowUtils.ts @@ -743,7 +743,7 @@ function updateGroupNodeTemplate(template: APITemplateType) { template[key].advanced = true; } //prevent code fields from showing on the group node - if (type === "code") { + if (type === "code" && key === "code") { template[key].show = false; } });