Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
cf317f8f
Commit
cf317f8f
authored
Jul 02, 2024
by
Timothy J. Baek
Browse files
fix
parent
e4c85921
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/lib/components/admin/Settings/Pipelines.svelte
src/lib/components/admin/Settings/Pipelines.svelte
+4
-4
No files found.
src/lib/components/admin/Settings/Pipelines.svelte
View file @
cf317f8f
...
@@ -480,18 +480,18 @@
...
@@ -480,18 +480,18 @@
<!-- {valves[property]} -->
<!-- {valves[property]} -->
<div class="flex mt-0.5 mb-1.5 space-x-2">
<div class="flex mt-0.5 mb-1.5 space-x-2">
<div class=" flex-1">
<div class=" flex-1">
{#if valves
S
pec.properties[property]?.enum ?? null}
{#if valves
_s
pec.properties[property]?.enum ?? null}
<select
<select
class="w-full rounded-lg py-2 px-4 text-sm dark:text-gray-300 dark:bg-gray-850 outline-none"
class="w-full rounded-lg py-2 px-4 text-sm dark:text-gray-300 dark:bg-gray-850 outline-none"
bind:value={valves[property]}
bind:value={valves[property]}
>
>
{#each valves
S
pec.properties[property].enum as option}
{#each valves
_s
pec.properties[property].enum as option}
<option value={option} selected={option === valves[property]}>
<option value={option} selected={option === valves[property]}>
{option}
{option}
</option>
</option>
{/each}
{/each}
</select>
</select>
{:else if (valves
S
pec.properties[property]?.type ?? null) === 'boolean'}
{:else if (valves
_s
pec.properties[property]?.type ?? null) === 'boolean'}
<div class="flex justify-between items-center">
<div class="flex justify-between items-center">
<div class="text-xs text-gray-500">
<div class="text-xs text-gray-500">
{valves[property] ? 'Enabled' : 'Disabled'}
{valves[property] ? 'Enabled' : 'Disabled'}
...
@@ -505,7 +505,7 @@
...
@@ -505,7 +505,7 @@
<input
<input
class="w-full rounded-lg py-2 px-4 text-sm dark:text-gray-300 dark:bg-gray-850 outline-none"
class="w-full rounded-lg py-2 px-4 text-sm dark:text-gray-300 dark:bg-gray-850 outline-none"
type="text"
type="text"
placeholder={valves
S
pec.properties[property].title}
placeholder={valves
_s
pec.properties[property].title}
bind:value={valves[property]}
bind:value={valves[property]}
autocomplete="off"
autocomplete="off"
required
required
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment