fix: issue with freeze value on page refresh (#2623)

This commit is contained in:
anovazzi1 2024-07-10 15:51:14 -03:00 committed by GitHub
commit fb39c095da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -248,7 +248,7 @@ export default function ParameterComponent({
};
useEffect(() => {
if (disabledOutput) {
if (disabledOutput && data.node?.outputs![index].hidden) {
handleUpdateOutputHide(false);
}
}, [disabledOutput]);