mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
enh: allow label search
This commit is contained in:
parent
c6a57b1f6f
commit
7f2e89a8aa
1 changed files with 1 additions and 0 deletions
|
|
@ -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())
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue