diff --git a/ui-ngx/src/app/modules/home/components/entity/entity.component.ts b/ui-ngx/src/app/modules/home/components/entity/entity.component.ts index 5ccda220c8..68e4ccc41e 100644 --- a/ui-ngx/src/app/modules/home/components/entity/entity.component.ts +++ b/ui-ngx/src/app/modules/home/components/entity/entity.component.ts @@ -129,7 +129,7 @@ export abstract class EntityComponent, acc[curr] = obj[curr]; } return acc; - }, {}); + }, Array.isArray(obj) ? [] : {}); } protected setEntitiesTableConfig(entitiesTableConfig: C) {