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
8892c14984
commit
f5d250820b
@ -440,7 +440,7 @@
|
|||||||
</button>
|
</button>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{#if items.find((item) => item.model?.connection_type === 'local') && items.find((item) => item.model?.connection_type === 'external')}
|
{#if items.find((item) => item.model?.connection_type === 'local')}
|
||||||
<button
|
<button
|
||||||
class="min-w-fit outline-none p-1.5 {selectedConnectionType === 'local'
|
class="min-w-fit outline-none p-1.5 {selectedConnectionType === 'local'
|
||||||
? ''
|
? ''
|
||||||
@ -452,6 +452,9 @@
|
|||||||
>
|
>
|
||||||
{$i18n.t('Local')}
|
{$i18n.t('Local')}
|
||||||
</button>
|
</button>
|
||||||
|
{/if}
|
||||||
|
|
||||||
|
{#if items.find((item) => item.model?.connection_type === 'external')}
|
||||||
<button
|
<button
|
||||||
class="min-w-fit outline-none p-1.5 {selectedConnectionType === 'external'
|
class="min-w-fit outline-none p-1.5 {selectedConnectionType === 'external'
|
||||||
? ''
|
? ''
|
||||||
|
Loading…
Reference in New Issue
Block a user