+
!key.startsWith('_') && data.node.template[key].show).length === 0?"hidden":""
+ )}
+ >
Inputs
) : (
diff --git a/src/frontend/src/components/dropdownComponent/index.tsx b/src/frontend/src/components/dropdownComponent/index.tsx
index dd44080ba..1bd163310 100644
--- a/src/frontend/src/components/dropdownComponent/index.tsx
+++ b/src/frontend/src/components/dropdownComponent/index.tsx
@@ -5,7 +5,7 @@ import { DropDownComponentType } from "../../types/components";
import { classNames } from "../../utils";
export default function Dropdown({value, options, onSelect}:DropDownComponentType) {
- let [internalValue,setInternalValue] = useState(value??"Choose an option")
+ let [internalValue,setInternalValue] = useState(value===""||!value?"Choose an option":value)
return (
<>
{
diff --git a/src/frontend/src/modals/exportModal/index.tsx b/src/frontend/src/modals/exportModal/index.tsx
index c1da32946..aa48f6ce1 100644
--- a/src/frontend/src/modals/exportModal/index.tsx
+++ b/src/frontend/src/modals/exportModal/index.tsx
@@ -26,6 +26,7 @@ export default function ExportModal() {
}
}
const [checked,setChecked] = useState(true)
+ const [name,setName] = useState(flows[tabIndex].name)
return (