mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 20:07:49 +01:00
refac: show default instead of none
This commit is contained in:
@@ -189,7 +189,13 @@
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{#if (valves[property] ?? null) === null}
|
{#if (valves[property] ?? null) === null}
|
||||||
<span class="ml-2 self-center"> {$i18n.t('None')} </span>
|
<span class="ml-2 self-center">
|
||||||
|
{#if (valvesSpec?.required ?? []).includes(property)}
|
||||||
|
{$i18n.t('None')}
|
||||||
|
{:else}
|
||||||
|
{$i18n.t('Default')}
|
||||||
|
{/if}
|
||||||
|
</span>
|
||||||
{:else}
|
{:else}
|
||||||
<span class="ml-2 self-center"> {$i18n.t('Custom')} </span>
|
<span class="ml-2 self-center"> {$i18n.t('Custom')} </span>
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
Reference in New Issue
Block a user