From 72c6195c10fd693d6691c8969336d7b387ba8ed5 Mon Sep 17 00:00:00 2001 From: Joel Date: Fri, 1 Aug 2025 17:32:09 +0800 Subject: [PATCH] fix: list operation boolean default --- web/app/components/workflow/nodes/list-operator/use-config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/components/workflow/nodes/list-operator/use-config.ts b/web/app/components/workflow/nodes/list-operator/use-config.ts index 211000b415..887bfb50ef 100644 --- a/web/app/components/workflow/nodes/list-operator/use-config.ts +++ b/web/app/components/workflow/nodes/list-operator/use-config.ts @@ -88,7 +88,7 @@ const useConfig = (id: string, payload: ListFilterNodeType) => { draft.filter_by.conditions = [{ key: (isFileArray && !draft.filter_by.conditions[0]?.key) ? 'name' : '', comparison_operator: getOperators(itemVarType, isFileArray ? { key: 'name' } : undefined)[0], - value: '', + value: itemVarType === VarType.boolean ? false : '', }] if (isFileArray && draft.order_by.enabled && !draft.order_by.key) draft.order_by.key = 'name'