mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): default node model selection
This commit is contained in:
parent
34f3a0f0e3
commit
027a8562d7
@ -48,7 +48,10 @@ const ModelInputFieldComponent = (
|
||||
};
|
||||
|
||||
return (
|
||||
<Select onChange={handleValueChanged} value={field.value}>
|
||||
<Select
|
||||
onChange={handleValueChanged}
|
||||
value={field.value || allModelNames[0]}
|
||||
>
|
||||
{allModelNames.map((option) => (
|
||||
<option key={option}>{option}</option>
|
||||
))}
|
||||
|
Loading…
Reference in New Issue
Block a user