mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-02 17:57:57 -05:00
refac
This commit is contained in:
1 parent
fad6d0e72f
commit
29c5fbef46
21 files changed
+62
-61
No files matched your search
@@ -42,7 +42,7 @@
|
||||
if (trigger) document.getElementById(trigger.id)?.focus();
|
||||
};
|
||||
$: available = selectedModels
|
||||
.map((id) => $models.find((model) => model.id === id))
|
||||
.map((id) => ($models ?? []).find((model) => model.id === id))
|
||||
.filter(
|
||||
(model): model is Model =>
|
||||
!!model &&
|
||||
|
||||
Reference in new issue
Block a user