fix base model grouping in combobox

This commit is contained in:
Mary Hipp 2024-02-26 12:29:13 -05:00 committed by Kent Keirsey
parent 3ccb4e6ff9
commit 253dc5d43d

View File

@ -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) => {