mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-18 06:45:58 +08:00
style: the 'all' of add tool panel should contain workflow tools (#4755)
This commit is contained in:
parent
793f0c1dd6
commit
f4a240d225
@ -31,7 +31,7 @@ const AllTools = ({
|
|||||||
const tools = useMemo(() => {
|
const tools = useMemo(() => {
|
||||||
let mergedTools: ToolWithProvider[] = []
|
let mergedTools: ToolWithProvider[] = []
|
||||||
if (activeTab === ToolTypeEnum.All)
|
if (activeTab === ToolTypeEnum.All)
|
||||||
mergedTools = [...buildInTools, ...customTools]
|
mergedTools = [...buildInTools, ...customTools, ...workflowTools]
|
||||||
if (activeTab === ToolTypeEnum.BuiltIn)
|
if (activeTab === ToolTypeEnum.BuiltIn)
|
||||||
mergedTools = buildInTools
|
mergedTools = buildInTools
|
||||||
if (activeTab === ToolTypeEnum.Custom)
|
if (activeTab === ToolTypeEnum.Custom)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user