enh: include desc in fuzzy search

This commit is contained in:
Timothy J. Baek 2024-08-02 01:53:53 +02:00
parent a9a6ed8b71
commit e5bf27e716

View File

@ -53,12 +53,13 @@
const _item = { const _item = {
...item, ...item,
modelName: item.model?.name, 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; return _item;
}), }),
{ {
keys: ['value', 'label', 'tags', 'modelName'] keys: ['value', 'label', 'tags', 'desc', 'modelName']
} }
); );