fix base model grouping in combobox

This commit is contained in:
Mary Hipp 2024-02-26 12:29:13 -05:00 committed by psychedelicious
parent c80c0f0fb9
commit 630d3615ca

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