Browse Source
Merge pull request #17092 from abpframework/auto-merge/rel-7-3/2069
Merge branch dev with rel-7.3
pull/17099/head
Masum ULU
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
npm/ng-packs/packages/theme-shared/extensions/src/lib/components/extensible-table/extensible-table.component.ts
|
|
@ -121,7 +121,7 @@ export class ExtensibleTableComponent<R = any> implements OnChanges { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private getEnum(rowValue: any, list: Array<ABP.Option<any>>) { |
|
|
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) || {}; |
|
|
const { key } = list.find(({ value }) => value === rowValue) || {}; |
|
|
return key; |
|
|
return key; |
|
|
} |
|
|
} |
|
|
|