From 2f1d88b1f9f7536c900eb7d56fcb4d8aee74b8be Mon Sep 17 00:00:00 2001 From: Joel Date: Fri, 6 Jun 2025 11:26:29 +0800 Subject: [PATCH] chore: change sys icon --- .../nodes/_base/components/variable/var-reference-vars.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/app/components/workflow/nodes/_base/components/variable/var-reference-vars.tsx b/web/app/components/workflow/nodes/_base/components/variable/var-reference-vars.tsx index 023916ec5b..e8cce14453 100644 --- a/web/app/components/workflow/nodes/_base/components/variable/var-reference-vars.tsx +++ b/web/app/components/workflow/nodes/_base/components/variable/var-reference-vars.tsx @@ -13,7 +13,7 @@ import { PortalToFollowElemTrigger, } from '@/app/components/base/portal-to-follow-elem' import Input from '@/app/components/base/input' -import { BubbleX, Env } from '@/app/components/base/icons/src/vender/line/others' +import { BubbleX, Env, GlobalVariable } from '@/app/components/base/icons/src/vender/line/others' import { checkKeys } from '@/utils/var' import type { StructuredOutput } from '../../../llm/types' import { Type } from '../../../llm/types' @@ -148,8 +148,9 @@ const Item: FC = ({ onMouseDown={e => e.preventDefault()} >
- {!isEnv && !isChatVar && !isLoopVar && } + {!isEnv && !isChatVar && !isLoopVar && !isSys && } {isEnv && } + {isSys && } {isChatVar && } {isLoopVar && } {!isEnv && !isChatVar && (