From fb39c095dad6ac047e012ab7db3b790a802b324f Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Wed, 10 Jul 2024 15:51:14 -0300 Subject: [PATCH] fix: issue with freeze value on page refresh (#2623) --- .../GenericNode/components/parameterComponent/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx b/src/frontend/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx index a2233070e..156d4984f 100644 --- a/src/frontend/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx +++ b/src/frontend/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx @@ -248,7 +248,7 @@ export default function ParameterComponent({ }; useEffect(() => { - if (disabledOutput) { + if (disabledOutput && data.node?.outputs![index].hidden) { handleUpdateOutputHide(false); } }, [disabledOutput]);