From ec0c144eb2eae715d3c157c18ff2d34c1bceeaa3 Mon Sep 17 00:00:00 2001 From: twwu Date: Wed, 24 Dec 2025 16:21:07 +0800 Subject: [PATCH] refactor: rename isHideNodeLabel to isShowNodeLabel for clarity in variable label component --- .../variable/variable-label/base/variable-label.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/app/components/workflow/nodes/_base/components/variable/variable-label/base/variable-label.tsx b/web/app/components/workflow/nodes/_base/components/variable/variable-label/base/variable-label.tsx index 3eb31ae5e0..d964940c00 100644 --- a/web/app/components/workflow/nodes/_base/components/variable/variable-label/base/variable-label.tsx +++ b/web/app/components/workflow/nodes/_base/components/variable/variable-label/base/variable-label.tsx @@ -27,7 +27,7 @@ const VariableLabel = ({ rightSlot, }: VariablePayload) => { const varColorClassName = useVarColor(variables, isExceptionVariable) - const isHideNodeLabel = !(isENV(variables) || isConversationVar(variables) || isGlobalVar(variables) || isRagVariableVar(variables)) + const isShowNodeLabel = !(isENV(variables) || isConversationVar(variables) || isGlobalVar(variables) || isRagVariableVar(variables)) return (
- { isHideNodeLabel && ( + {isShowNodeLabel && (