mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
chore: map tool description to desc in ToolStoreDialog
This commit is contained in:
parent
483538a431
commit
7dbd70fbfd
|
|
@ -219,6 +219,10 @@ async function getStoreToolList() {
|
|||
const res = await ToolStoreApi.getStoreToolList({ name: searchValue.value }, loading)
|
||||
const tags = res.data.additionalProperties.tags
|
||||
const storeTools = res.data.apps
|
||||
//
|
||||
storeTools.forEach((tool: any) => {
|
||||
tool.desc = tool.description
|
||||
})
|
||||
|
||||
if (storeTools.length === 0) {
|
||||
filterList.value = []
|
||||
|
|
|
|||
Loading…
Reference in New Issue