diff --git a/ui/src/components/flags/FlagForm.tsx b/ui/src/components/flags/FlagForm.tsx index db0cef8955..7877646053 100644 --- a/ui/src/components/flags/FlagForm.tsx +++ b/ui/src/components/flags/FlagForm.tsx @@ -55,7 +55,7 @@ export default function FlagForm(props: FlagFormProps) { key: flag?.key || '', name: flag?.name || '', description: flag?.description || '', - type: flag?.type || (FlagType.VARIANT_FLAG_TYPE as FlagType), + type: flag?.type || ('VARIANT_FLAG_TYPE' as FlagType), enabled: flag?.enabled || false };