chore: map tool description to desc in ToolStoreDialog
parent
483538a431
commit
7dbd70fbfd
|
|
@ -219,6 +219,10 @@ async function getStoreToolList() {
|
||||||
const res = await ToolStoreApi.getStoreToolList({ name: searchValue.value }, loading)
|
const res = await ToolStoreApi.getStoreToolList({ name: searchValue.value }, loading)
|
||||||
const tags = res.data.additionalProperties.tags
|
const tags = res.data.additionalProperties.tags
|
||||||
const storeTools = res.data.apps
|
const storeTools = res.data.apps
|
||||||
|
//
|
||||||
|
storeTools.forEach((tool: any) => {
|
||||||
|
tool.desc = tool.description
|
||||||
|
})
|
||||||
|
|
||||||
if (storeTools.length === 0) {
|
if (storeTools.length === 0) {
|
||||||
filterList.value = []
|
filterList.value = []
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue