fix base model grouping in combobox

This commit is contained in:
Mary Hipp 2024-02-26 12:29:13 -05:00 committed by Brandon Rising
parent 638322e89f
commit 52d0f9c52f

View File

@ -35,7 +35,7 @@ export const useGroupedModelCombobox = <T extends AnyModelConfig>(
return [];
}
const modelEntitiesArray = map(modelEntities.entities);
const groupedModels = groupBy(modelEntitiesArray, 'base_model');
const groupedModels = groupBy(modelEntitiesArray, 'base');
const _options = reduce(
groupedModels,
(acc, val, label) => {