mirror of
https://github.com/langgenius/dify.git
synced 2026-01-05 22:15:52 +00:00
style: the 'all' of add tool panel should contain workflow tools (#4755)
This commit is contained in:
@@ -31,7 +31,7 @@ const AllTools = ({
|
||||
const tools = useMemo(() => {
|
||||
let mergedTools: ToolWithProvider[] = []
|
||||
if (activeTab === ToolTypeEnum.All)
|
||||
mergedTools = [...buildInTools, ...customTools]
|
||||
mergedTools = [...buildInTools, ...customTools, ...workflowTools]
|
||||
if (activeTab === ToolTypeEnum.BuiltIn)
|
||||
mergedTools = buildInTools
|
||||
if (activeTab === ToolTypeEnum.Custom)
|
||||
|
||||
Reference in New Issue
Block a user