From 077a595a7763740c7e1f51081a042d090ee4283c Mon Sep 17 00:00:00 2001 From: waleed Date: Fri, 6 Mar 2026 05:45:00 -0800 Subject: [PATCH] fix(tool-input): restore workflow input mapper visibility --- .../components/sub-block/components/tool-input/tool-input.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/tool-input/tool-input.tsx b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/tool-input/tool-input.tsx index cc3225b9c20..324857cf9bb 100644 --- a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/tool-input/tool-input.tsx +++ b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/tool-input/tool-input.tsx @@ -1969,9 +1969,8 @@ export const ToolInput = memo(function ToolInput({ } if (useSubBlocks && displaySubBlocks.length > 0) { - const allBlockSubBlocks = toolBlock?.subBlocks || [] const coveredParamIds = new Set( - allBlockSubBlocks.flatMap((sb) => { + displaySubBlocks.flatMap((sb) => { const ids = [sb.id] if (sb.canonicalParamId) ids.push(sb.canonicalParamId) const cId = toolCanonicalIndex?.canonicalIdBySubBlockId[sb.id]