We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f63d8e9 commit 0ba4db2Copy full SHA for 0ba4db2
1 file changed
ui/src/components/workflow-dropdown-menu/tool/index.vue
@@ -236,7 +236,7 @@ async function getToolList() {
236
tool_type_list: [baseType, 'WORKFLOW'],
237
})
238
toolList.value = res.data?.tools || res.data || []
239
- toolList.value = toolList.value?.filter((item: any) => item.is_active)
+ toolList.value = toolList.value?.filter((item: any) => item.is_active && item.id !== props.id)
240
}
241
242
function folderClickHandle(row: any) {
0 commit comments