From 4934a655dded3c3409bfe38e16c117d827332ab4 Mon Sep 17 00:00:00 2001 From: Joel Date: Thu, 28 Mar 2024 16:48:54 +0800 Subject: [PATCH] chore: xxx --- .../workflow/nodes/_base/hooks/use-available-var-list.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/components/workflow/nodes/_base/hooks/use-available-var-list.ts b/web/app/components/workflow/nodes/_base/hooks/use-available-var-list.ts index ca53014948..6f12213d41 100644 --- a/web/app/components/workflow/nodes/_base/hooks/use-available-var-list.ts +++ b/web/app/components/workflow/nodes/_base/hooks/use-available-var-list.ts @@ -20,7 +20,7 @@ const useAvailableVarList = (nodeId: string, { const isChatMode = useIsChatMode() const availableNodes = onlyLeafNodeVar ? getTreeLeafNodes(nodeId) : getBeforeNodesInSameBranch(nodeId) - const availableVars = toNodeOutputVars(availableNodes, isChatMode, filterVar).map(item => item.vars) + const availableVars = toNodeOutputVars(availableNodes, isChatMode, filterVar) return availableVars }