mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 01:48:04 +08:00
feat(workflow): Plugin Trigger Node with Unified Entry Node System (#24205)
This commit is contained in:
@ -506,7 +506,7 @@ export const useToolIcon = (data: Node['data']) => {
|
||||
const toolIcon = useMemo(() => {
|
||||
if (!data)
|
||||
return ''
|
||||
if (data.type === BlockEnum.Tool) {
|
||||
if (data.type === BlockEnum.Tool || data.type === BlockEnum.TriggerPlugin) {
|
||||
let targetTools = workflowTools
|
||||
if (data.provider_type === CollectionType.builtIn)
|
||||
targetTools = buildInTools
|
||||
|
||||
Reference in New Issue
Block a user