mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
refac
This commit is contained in:
parent
2f338b6ae7
commit
86551de1f7
@ -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 New Issue
Block a user