From d95147c25aad48a932848627fbba6e90a23fc69e Mon Sep 17 00:00:00 2001 From: yassinedorbozgithub Date: Sun, 17 Nov 2024 08:32:48 +0100 Subject: [PATCH] fix(frontend): contextVar permanent defaultValue --- frontend/src/components/context-vars/ContextVarDialog.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/context-vars/ContextVarDialog.tsx b/frontend/src/components/context-vars/ContextVarDialog.tsx index b7ba8dbf..b894eae1 100644 --- a/frontend/src/components/context-vars/ContextVarDialog.tsx +++ b/frontend/src/components/context-vars/ContextVarDialog.tsx @@ -69,7 +69,7 @@ export const ContextVarDialog: FC = ({ defaultValues: { name: data?.name || "", label: data?.label || "", - permanent: data?.permanent, + permanent: data?.permanent || false, }, }); const validationRules = {