mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix base model grouping in combobox
This commit is contained in:
parent
3ccb4e6ff9
commit
253dc5d43d
@ -35,7 +35,7 @@ export const useGroupedModelCombobox = <T extends AnyModelConfig>(
|
|||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
const modelEntitiesArray = map(modelEntities.entities);
|
const modelEntitiesArray = map(modelEntities.entities);
|
||||||
const groupedModels = groupBy(modelEntitiesArray, 'base_model');
|
const groupedModels = groupBy(modelEntitiesArray, 'base');
|
||||||
const _options = reduce(
|
const _options = reduce(
|
||||||
groupedModels,
|
groupedModels,
|
||||||
(acc, val, label) => {
|
(acc, val, label) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user