mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 05:45:19 +00:00
refac
This commit is contained in:
parent
8892c14984
commit
f5d250820b
1 changed files with 4 additions and 1 deletions
|
|
@ -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 a new issue