mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 13:55:19 +00:00
chore: format
This commit is contained in:
parent
6cd47a3c9b
commit
bc5e39d31b
1 changed files with 3 additions and 1 deletions
|
|
@ -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 a new issue