mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix: LoRA list name sorting
This commit is contained in:
parent
5629d8fa37
commit
58a48bf197
@ -54,6 +54,8 @@ const ParamLoRASelect = () => {
|
||||
});
|
||||
});
|
||||
|
||||
data.sort((a, b) => (a.label && !b.label ? 1 : -1));
|
||||
|
||||
return data.sort((a, b) => (a.disabled && !b.disabled ? 1 : -1));
|
||||
}, [loras, loraModels, currentMainModel?.base_model]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user