forked from open-webui/open-webui
fix: select
This commit is contained in:
parent
b218b02d93
commit
df21a92542
1 changed files with 6 additions and 3 deletions
|
@ -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">
|
||||||
|
|
Loading…
Reference in a new issue