mirror of
https://github.com/open-webui/open-webui
synced 2024-11-28 23:13:30 +00:00
refac: show default instead of none
This commit is contained in:
parent
cf6447eb2a
commit
c1971fd8d7
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user