mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-11 20:05:19 +00:00
refac
This commit is contained in:
parent
49d54c5821
commit
7b0b16ebbd
1 changed files with 6 additions and 1 deletions
|
|
@ -44,7 +44,12 @@
|
|||
: ' text-gray-500 dark:text-gray-400'}"
|
||||
type="button"
|
||||
on:click={() => {
|
||||
value = item.value;
|
||||
if (value === item.value) {
|
||||
value = null;
|
||||
} else {
|
||||
value = item.value;
|
||||
}
|
||||
|
||||
open = false;
|
||||
onChange(value);
|
||||
}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue