chore: remove unnecessary check for empty storeTools in ToolStoreDialog
parent
a2600ea98c
commit
f31a8d380a
|
|
@ -222,11 +222,6 @@ async function getStoreToolList() {
|
||||||
tool.desc = tool.description
|
tool.desc = tool.description
|
||||||
})
|
})
|
||||||
|
|
||||||
if (storeTools.length === 0) {
|
|
||||||
filterList.value = []
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
categories.value = tags.map((tag: any) => ({
|
categories.value = tags.map((tag: any) => ({
|
||||||
id: tag.key,
|
id: tag.key,
|
||||||
title: tag.name, // 国际化
|
title: tag.name, // 国际化
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue