From e7a6a0ab01c69ca8a6d2de6924b99f482604208f Mon Sep 17 00:00:00 2001 From: Joel Date: Fri, 30 Aug 2024 14:44:16 +0800 Subject: [PATCH] chore: list filter operate ui --- .../components/condition-list/condition-operator.tsx | 4 +++- .../nodes/list-filter/components/filter-condition.tsx | 6 +++++- web/app/components/workflow/nodes/list-filter/panel.tsx | 1 + 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/web/app/components/workflow/nodes/if-else/components/condition-list/condition-operator.tsx b/web/app/components/workflow/nodes/if-else/components/condition-list/condition-operator.tsx index 93a4c3cc08..97835e2666 100644 --- a/web/app/components/workflow/nodes/if-else/components/condition-list/condition-operator.tsx +++ b/web/app/components/workflow/nodes/if-else/components/condition-list/condition-operator.tsx @@ -17,6 +17,7 @@ import cn from '@/utils/classnames' const i18nPrefix = 'workflow.nodes.ifElse' type ConditionOperatorProps = { + className?: string disabled?: boolean varType: VarType file?: { key: string } @@ -24,6 +25,7 @@ type ConditionOperatorProps = { onSelect: (value: ComparisonOperator) => void } const ConditionOperator = ({ + className, disabled, varType, file, @@ -55,7 +57,7 @@ const ConditionOperator = ({ > setOpen(v => !v)}>