enh: include desc in fuzzy search
This commit is contained in:
parent
a9a6ed8b71
commit
e5bf27e716
|
|
@ -53,12 +53,13 @@
|
|||
const _item = {
|
||||
...item,
|
||||
modelName: item.model?.name,
|
||||
tags: item.model?.info?.meta?.tags?.map((tag) => tag.name).join(' ')
|
||||
tags: item.model?.info?.meta?.tags?.map((tag) => tag.name).join(' '),
|
||||
desc: item.model?.info?.meta?.description
|
||||
};
|
||||
return _item;
|
||||
}),
|
||||
{
|
||||
keys: ['value', 'label', 'tags', 'modelName']
|
||||
keys: ['value', 'label', 'tags', 'desc', 'modelName']
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue