diff --git a/ui/src/components/workflow-dropdown-menu/tool/index.vue b/ui/src/components/workflow-dropdown-menu/tool/index.vue index 61f812e83fc..1722bcc2998 100644 --- a/ui/src/components/workflow-dropdown-menu/tool/index.vue +++ b/ui/src/components/workflow-dropdown-menu/tool/index.vue @@ -236,7 +236,7 @@ async function getToolList() { tool_type_list: [baseType, 'WORKFLOW'], }) toolList.value = res.data?.tools || res.data || [] - toolList.value = toolList.value?.filter((item: any) => item.is_active) + toolList.value = toolList.value?.filter((item: any) => item.is_active && item.id !== props.id) } function folderClickHandle(row: any) {