Merge pull request #17091 from abpframework/issue-17090

AngularUI: Fix enum prop can't display on table
pull/17092/head
Mahmut Gundogdu 2 years ago committed by GitHub
commit b1486abf44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -121,7 +121,7 @@ export class ExtensibleTableComponent<R = any> implements OnChanges {
}
private getEnum(rowValue: any, list: Array<ABP.Option<any>>) {
if (!list) return rowValue;
if (!list || list.length < 1) return rowValue;
const { key } = list.find(({ value }) => value === rowValue) || {};
return key;
}

Loading…
Cancel
Save