Skip to content

Commit

Permalink
Fixed issue with List type CEA
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Jun 28, 2022
1 parent dd00fd2 commit e92ad5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/app/metadata/hooks/utility.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export const assignValueToProperties = (models, properties, definition, schema)
...prop.items,
enum: prop.items.enum.map((item, index) => ({
key: item,
label: `${prop?.items?.enumNames[index] || item}`,
label: `${prop?.items?.enumNames ? prop?.items?.enumNames[index] : item}`,
differences: models
.map((model) => {
const value = model[prop.id];
Expand Down

0 comments on commit e92ad5f

Please sign in to comment.