mirror of
https://github.com/simstudioai/sim.git
synced 2026-09-24 15:45:35 +08:00
fix(oauth-selector): added oauth selector back for tools that it was missing from
This commit is contained in:
+1
-1
@@ -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) : []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user