mirror of
https://github.com/open-webui/open-webui
synced 2024-11-23 00:27:40 +00:00
feat: remove model selection limit
This commit is contained in:
parent
a04046b277
commit
268497f963
@ -58,11 +58,9 @@
|
||||
class=" self-center {selectedModelIdx === 0
|
||||
? 'mr-3'
|
||||
: 'mr-7'} disabled:text-gray-600 disabled:hover:text-gray-600"
|
||||
disabled={selectedModels.length === 3 || disabled}
|
||||
{disabled}
|
||||
on:click={() => {
|
||||
if (selectedModels.length < 3) {
|
||||
selectedModels = [...selectedModels, ''];
|
||||
}
|
||||
selectedModels = [...selectedModels, ''];
|
||||
}}
|
||||
>
|
||||
<svg
|
||||
|
Loading…
Reference in New Issue
Block a user