From d355e077adfe680c9001e337daa4d438a5be473d Mon Sep 17 00:00:00 2001 From: Mia Wong Date: Thu, 12 Sep 2024 10:57:03 -0400 Subject: [PATCH] Fix Dropdown logic for when field --- web/src/components/config_render/ConfigDropdown.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/src/components/config_render/ConfigDropdown.tsx b/web/src/components/config_render/ConfigDropdown.tsx index bab9db5c28..60da313d29 100644 --- a/web/src/components/config_render/ConfigDropdown.tsx +++ b/web/src/components/config_render/ConfigDropdown.tsx @@ -23,13 +23,14 @@ const ConfigDropdown = (props) => { setSelectedValue(val); props.handleOnChange(props.name, val); }; + var hidden = props.hidden || props.when === "false"; return (