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