enh: allow label search

This commit is contained in:
Timothy J. Baek 2024-06-01 16:34:36 -07:00
parent c6a57b1f6f
commit 7f2e89a8aa

View File

@ -46,6 +46,7 @@
(item) =>
(searchValue
? item.value.toLowerCase().includes(searchValue.toLowerCase()) ||
item.label.toLowerCase().includes(searchValue.toLowerCase()) ||
(item.model?.info?.meta?.tags ?? []).some((tag) =>
tag.name.toLowerCase().includes(searchValue.toLowerCase())
)