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
df21a925
Commit
df21a925
authored
Mar 24, 2024
by
Timothy J. Baek
Browse files
fix: select
parent
b218b02d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
src/lib/components/common/Select.svelte
src/lib/components/common/Select.svelte
+6
-3
No files found.
src/lib/components/common/Select.svelte
View file @
df21a925
...
@@ -69,9 +69,12 @@
...
@@ -69,9 +69,12 @@
label={item.label}
label={item.label}
>
>
{item.label}
{item.label}
<Select.ItemIndicator class="ml-auto" asChild={false}>
{#if value === item.value}
<div class="ml-auto">
<Check />
<Check />
</Select.ItemIndicator>
</div>
{/if}
</Select.Item>
</Select.Item>
{:else}
{:else}
<span class="block px-5 py-2 text-sm text-gray-700 dark:text-gray-100">
<span class="block px-5 py-2 text-sm text-gray-700 dark:text-gray-100">
...
...
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