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
2bfe684716
commit
7611441676
1 changed files with 4 additions and 4 deletions
|
|
@ -705,8 +705,8 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="relative flex flex-col flex-1">
|
<div class="relative flex flex-col flex-1">
|
||||||
<div class="mt-0.5 pb-1.5" id="pinned-models-list">
|
{#if ($models ?? []).length > 0 && ($settings?.pinnedModels ?? []).length > 0}
|
||||||
{#if ($models ?? []).length > 0 && ($settings?.pinnedModels ?? []).length > 0}
|
<div class="mt-0.5 pb-1.5" id="pinned-models-list">
|
||||||
{#each $settings.pinnedModels as modelId (modelId)}
|
{#each $settings.pinnedModels as modelId (modelId)}
|
||||||
{@const model = $models.find((model) => model.id === modelId)}
|
{@const model = $models.find((model) => model.id === modelId)}
|
||||||
{#if model}
|
{#if model}
|
||||||
|
|
@ -746,8 +746,8 @@
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
{/each}
|
{/each}
|
||||||
{/if}
|
</div>
|
||||||
</div>
|
{/if}
|
||||||
|
|
||||||
{#if $config?.features?.enable_channels && ($user?.role === 'admin' || $channels.length > 0)}
|
{#if $config?.features?.enable_channels && ($user?.role === 'admin' || $channels.length > 0)}
|
||||||
<Folder
|
<Folder
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue