mirror of
https://github.com/open-webui/open-webui
synced 2024-11-24 21:13:59 +00:00
chore: format
This commit is contained in:
parent
6cd47a3c9b
commit
bc5e39d31b
@ -21,7 +21,9 @@
|
|||||||
let filteredModels = [];
|
let filteredModels = [];
|
||||||
|
|
||||||
$: filteredModels = $models
|
$: filteredModels = $models
|
||||||
.filter((p) => p.name.toLowerCase().includes(prompt.toLowerCase().split(' ')?.at(0)?.substring(1) ?? ''))
|
.filter((p) =>
|
||||||
|
p.name.toLowerCase().includes(prompt.toLowerCase().split(' ')?.at(0)?.substring(1) ?? '')
|
||||||
|
)
|
||||||
.sort((a, b) => a.name.localeCompare(b.name));
|
.sort((a, b) => a.name.localeCompare(b.name));
|
||||||
|
|
||||||
$: if (prompt) {
|
$: if (prompt) {
|
||||||
|
Loading…
Reference in New Issue
Block a user