From 357d011fa68cd2b6c58babfd8dfe82783f1c6160 Mon Sep 17 00:00:00 2001 From: Mark Phelps <209477+markphelps@users.noreply.github.com> Date: Wed, 5 Jul 2023 11:53:32 -0400 Subject: [PATCH] chore: fix default checked --- ui/src/components/flags/FlagForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 };