From 9200d7e12a454c51ad7f85a4db034aa84caa4019 Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Wed, 8 Mar 2023 19:42:32 -0300 Subject: [PATCH] fixed bug on parameter for hiding handle on str and bool --- .../components/parameterComponent/index.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/langflow/frontend/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx b/langflow/frontend/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx index 3d43557d9..daaf81972 100644 --- a/langflow/frontend/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx +++ b/langflow/frontend/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx @@ -52,6 +52,9 @@ export default function ParameterComponent({ {title} {required ? " *" : ""} + {left && (type === "str" || type === "bool" || type === "float") ? + <> + : + } + {left === true && type === "str" ? (
{data.node.template[name].list ? (