From 17b4d4c7b269a52edd4795b93d6c229f8d2915eb Mon Sep 17 00:00:00 2001 From: zxhlyh Date: Mon, 24 Mar 2025 11:06:10 +0800 Subject: [PATCH] fix: workflow if-else node variable tag style (#16583) --- .../components/condition-list/condition-var-selector.tsx | 4 ++-- .../workflow/nodes/if-else/components/condition-value.tsx | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/web/app/components/workflow/nodes/if-else/components/condition-list/condition-var-selector.tsx b/web/app/components/workflow/nodes/if-else/components/condition-list/condition-var-selector.tsx index 4cb82b4ce9..c05e733c1a 100644 --- a/web/app/components/workflow/nodes/if-else/components/condition-list/condition-var-selector.tsx +++ b/web/app/components/workflow/nodes/if-else/components/condition-list/condition-var-selector.tsx @@ -32,8 +32,8 @@ const ConditionVarSelector = ({ crossAxis: 0, }} > - onOpenChange(!open)}> -
+ onOpenChange(!open)}> +
{!isEnvVar && !isChatVar && } {isEnvVar && } - {isChatVar && } + {isChatVar && }
{ !notHasValue && ( -
{isSelect ? selectName : formatValue}
+
{isSelect ? selectName : formatValue}
) }