diff --git a/web/src/views/Workflow/components/Properties/CycleVarsList/index.tsx b/web/src/views/Workflow/components/Properties/CycleVarsList/index.tsx index 9e28c958..dfa82f0a 100644 --- a/web/src/views/Workflow/components/Properties/CycleVarsList/index.tsx +++ b/web/src/views/Workflow/components/Properties/CycleVarsList/index.tsx @@ -1,6 +1,6 @@ import { type FC } from 'react' import { useTranslation } from 'react-i18next'; -import { Form, Select, Input, Button, InputNumber } from 'antd' +import { Form, Select, Input, Button, InputNumber, Radio } from 'antd' import VariableSelect from '../VariableSelect' import type { Suggestion } from '../../Editor/plugin/AutocompletePlugin' @@ -153,6 +153,11 @@ const CycleVarsList: FC = ({ className="rb:w-full! rb:my-1!" onChange={(value) => form.setFieldValue([name, 'value'], value)} /> + : currentType === 'boolean' + ? + True + False + : (