forked from open-webui/open-webui
Merge pull request #615 from ollama-webui/unlimit-model-selection
feat: remove model selection limit
This commit is contained in:
commit
07919a878f
1 changed files with 2 additions and 4 deletions
|
@ -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, ''];
|
||||
}
|
||||
}}
|
||||
>
|
||||
<svg
|
||||
|
|
Loading…
Reference in a new issue