mirror of
https://github.com/open-webui/open-webui
synced 2024-11-28 15:05:07 +00:00
enh: valve field desc support
This commit is contained in:
parent
7cd4a3cd1a
commit
5d7de927e5
@ -203,7 +203,7 @@
|
||||
</div>
|
||||
|
||||
{#if (valves[property] ?? null) !== null}
|
||||
<div class="flex mt-0.5 space-x-2">
|
||||
<div class="flex mt-0.5 mb-1 space-x-2">
|
||||
<div class=" flex-1">
|
||||
<input
|
||||
class="w-full rounded-lg py-2 px-4 text-sm dark:text-gray-300 dark:bg-gray-850 outline-none"
|
||||
@ -216,6 +216,12 @@
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{#if (valvesSpec.properties[property]?.description ?? null) !== null}
|
||||
<div class="text-xs text-gray-500">
|
||||
{valvesSpec.properties[property].description}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{/each}
|
||||
{:else}
|
||||
|
Loading…
Reference in New Issue
Block a user