refactor(reactflowUtils.ts): remove unnecessary code that hides the "code" template for CustomComponent
The code was removing the "code" template for CustomComponent by setting its "show" property to false. However, this code is no longer needed and has been removed to simplify the logic and improve maintainability.
This commit is contained in:
parent
39ddc8eed4
commit
15a6eb58b1
1 changed files with 0 additions and 6 deletions
|
|
@ -553,12 +553,6 @@ function updateGroupNodeTemplate(template: APITemplateType) {
|
|||
) {
|
||||
template[key].advanced = true;
|
||||
}
|
||||
if (
|
||||
type === "code" &&
|
||||
template[key].proxy?.id.includes("CustomComponent")
|
||||
) {
|
||||
template[key].show = false;
|
||||
}
|
||||
});
|
||||
return template;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue