Commit 7f2e89a8 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

enh: allow label search

parent c6a57b1f
...@@ -46,6 +46,7 @@ ...@@ -46,6 +46,7 @@
(item) => (item) =>
(searchValue (searchValue
? item.value.toLowerCase().includes(searchValue.toLowerCase()) || ? item.value.toLowerCase().includes(searchValue.toLowerCase()) ||
item.label.toLowerCase().includes(searchValue.toLowerCase()) ||
(item.model?.info?.meta?.tags ?? []).some((tag) => (item.model?.info?.meta?.tags ?? []).some((tag) =>
tag.name.toLowerCase().includes(searchValue.toLowerCase()) tag.name.toLowerCase().includes(searchValue.toLowerCase())
) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment