From 575a482273a0424c557a7d0d171e88f6a084d2b3 Mon Sep 17 00:00:00 2001 From: Waleed Latif Date: Wed, 14 May 2025 09:57:56 -0700 Subject: [PATCH] fix(oauth-selector): added oauth selector back for tools that it was missing from --- .../components/sub-block/components/tool-input/tool-input.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/sim/app/w/[id]/components/workflow-block/components/sub-block/components/tool-input/tool-input.tsx b/apps/sim/app/w/[id]/components/workflow-block/components/sub-block/components/tool-input/tool-input.tsx index a1ff3ed5cf..cf6270036a 100644 --- a/apps/sim/app/w/[id]/components/workflow-block/components/sub-block/components/tool-input/tool-input.tsx +++ b/apps/sim/app/w/[id]/components/workflow-block/components/sub-block/components/tool-input/tool-input.tsx @@ -673,7 +673,7 @@ export function ToolInput({ blockId, subBlockId }: ToolInputProps) { const toolBlock = !isCustomTool ? toolBlocks.find((block) => block.type === tool.type) : null - const toolId = !isCustomTool ? (tool.operation ?? getToolIdFromBlock(tool.type)) : null + const toolId = !isCustomTool ? getToolIdFromBlock(tool.type) : null const hasOperations = !isCustomTool && hasMultipleOperations(tool.type) const operationOptions = hasOperations ? getOperationOptions(tool.type) : []