enh: sidebar models collapsible
This commit is contained in:
1 parent
8197844ff7
commit
82c08a3b5d
1 file changed
+8
-1
@@ -891,7 +891,14 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{#if ($models ?? []).length > 0 && ($settings?.pinnedModels ?? []).length > 0}
|
{#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}
|
||||||
|
|
||||||
{#if $config?.features?.enable_channels && ($user?.role === 'admin' || $channels.length > 0)}
|
{#if $config?.features?.enable_channels && ($user?.role === 'admin' || $channels.length > 0)}
|
||||||
|
|||||||
Reference in new issue
Block a user