mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 21:05:19 +00:00
refac
This commit is contained in:
parent
2f338b6ae7
commit
86551de1f7
1 changed files with 1 additions and 1 deletions
|
|
@ -645,7 +645,7 @@
|
|||
</div>
|
||||
{/if}
|
||||
|
||||
{#if ($settings?.pinnedModels ?? []).length > 0}
|
||||
{#if ($models ?? []).length > 0 && ($settings?.pinnedModels ?? []).length > 0}
|
||||
<div class="pt-1.5">
|
||||
{#each $settings.pinnedModels as modelId (modelId)}
|
||||
{@const model = $models.find((model) => model.id === modelId)}
|
||||
|
|
|
|||
Loading…
Reference in a new issue