style: the 'all' of add tool panel should contain workflow tools (#4755)

pull/4759/head
非法操作 2 years ago committed by GitHub
parent 793f0c1dd6
commit f4a240d225
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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)

Loading…
Cancel
Save