mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-14 21:35:19 +00:00
enh: sidebar models collapsible
This commit is contained in:
parent
902246cdb0
commit
ea1f276386
1 changed files with 8 additions and 1 deletions
|
|
@ -891,7 +891,14 @@
|
|||
</div>
|
||||
|
||||
{#if ($models ?? []).length > 0 && ($settings?.pinnedModels ?? []).length > 0}
|
||||
<PinnedModelList bind:selectedChatId {shiftKey} />
|
||||
<Folder
|
||||
className="px-2 mt-0.5"
|
||||
name={$i18n.t('Models')}
|
||||
chevron={false}
|
||||
dragAndDrop={false}
|
||||
>
|
||||
<PinnedModelList bind:selectedChatId {shiftKey} />
|
||||
</Folder>
|
||||
{/if}
|
||||
|
||||
{#if $config?.features?.enable_channels && ($user?.role === 'admin' || $channels.length > 0)}
|
||||
|
|
|
|||
Loading…
Reference in a new issue