From fd5a378f15f0cef26c0dcd29162354292d230b27 Mon Sep 17 00:00:00 2001 From: Minamiyama Date: Mon, 7 Jul 2025 10:25:16 +0800 Subject: [PATCH] Update web/app/components/workflow/hooks/use-checklist.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- web/app/components/workflow/hooks/use-checklist.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/components/workflow/hooks/use-checklist.ts b/web/app/components/workflow/hooks/use-checklist.ts index 35ff86044d..b02f6bc8e8 100644 --- a/web/app/components/workflow/hooks/use-checklist.ts +++ b/web/app/components/workflow/hooks/use-checklist.ts @@ -113,7 +113,7 @@ export const useChecklist = (nodes: Node[], edges: Edge[]) => { if (!errorMessage) { const availableVars = map[node.id].availableVars - usedVars.forEach((variable) => { + for (const variable of usedVars) { const isEnv = isENV(variable) const isConvVar = isConversationVar(variable) const isSysVar = isSystemVar(variable)