mirror of
https://github.com/open-webui/open-webui
synced 2025-06-15 10:51:13 +00:00
refac
This commit is contained in:
parent
53a2acd541
commit
26980fb859
@ -369,7 +369,7 @@
|
|||||||
{$i18n.t('All')}
|
{$i18n.t('All')}
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
{#if items.find((item) => item.model?.owned_by === 'ollama')}
|
{#if items.find((item) => item.model?.owned_by === 'ollama') && items.find((item) => item.model?.owned_by === 'openai')}
|
||||||
<button
|
<button
|
||||||
class="min-w-fit outline-none p-1.5 {selectedConnectionType === 'ollama'
|
class="min-w-fit outline-none p-1.5 {selectedConnectionType === 'ollama'
|
||||||
? ''
|
? ''
|
||||||
@ -381,9 +381,6 @@
|
|||||||
>
|
>
|
||||||
{$i18n.t('Local')}
|
{$i18n.t('Local')}
|
||||||
</button>
|
</button>
|
||||||
{/if}
|
|
||||||
|
|
||||||
{#if items.find((item) => item.model?.owned_by === 'openai')}
|
|
||||||
<button
|
<button
|
||||||
class="min-w-fit outline-none p-1.5 {selectedConnectionType === 'openai'
|
class="min-w-fit outline-none p-1.5 {selectedConnectionType === 'openai'
|
||||||
? ''
|
? ''
|
||||||
|
Loading…
Reference in New Issue
Block a user