Fix code field visibility in group node template

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-02-22 16:27:57 -03:00
commit 8f8b921ead

View file

@ -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;
}
});