diff --git a/npm/ng-packs/packages/theme-shared/extensions/src/lib/components/extensible-table/extensible-table.component.ts b/npm/ng-packs/packages/theme-shared/extensions/src/lib/components/extensible-table/extensible-table.component.ts index a0e5694f68..21dec03838 100644 --- a/npm/ng-packs/packages/theme-shared/extensions/src/lib/components/extensible-table/extensible-table.component.ts +++ b/npm/ng-packs/packages/theme-shared/extensions/src/lib/components/extensible-table/extensible-table.component.ts @@ -121,7 +121,7 @@ export class ExtensibleTableComponent implements OnChanges { } private getEnum(rowValue: any, list: Array>) { - if (!list) return rowValue; + if (!list || list.length < 1) return rowValue; const { key } = list.find(({ value }) => value === rowValue) || {}; return key; }