Skip to content

Commit 575a482

Browse files
committed
fix(oauth-selector): added oauth selector back for tools that it was missing from
1 parent 7010c2d commit 575a482

File tree

1 file changed

+1
-1
lines changed
  • apps/sim/app/w/[id]/components/workflow-block/components/sub-block/components/tool-input

1 file changed

+1
-1
lines changed

apps/sim/app/w/[id]/components/workflow-block/components/sub-block/components/tool-input/tool-input.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ export function ToolInput({ blockId, subBlockId }: ToolInputProps) {
673673
const toolBlock = !isCustomTool
674674
? toolBlocks.find((block) => block.type === tool.type)
675675
: null
676-
const toolId = !isCustomTool ? (tool.operation ?? getToolIdFromBlock(tool.type)) : null
676+
const toolId = !isCustomTool ? getToolIdFromBlock(tool.type) : null
677677
const hasOperations = !isCustomTool && hasMultipleOperations(tool.type)
678678
const operationOptions = hasOperations ? getOperationOptions(tool.type) : []
679679

0 commit comments

Comments
 (0)