Browse Source

fix deepTrim from entity.component

pull/3172/head
YevhenBondarenko 6 years ago
committed by Andrew Shvayka
parent
commit
47c85fdcc2
  1. 2
      ui-ngx/src/app/modules/home/components/entity/entity.component.ts

2
ui-ngx/src/app/modules/home/components/entity/entity.component.ts

@ -129,7 +129,7 @@ export abstract class EntityComponent<T extends BaseData<HasId>,
acc[curr] = obj[curr]; acc[curr] = obj[curr];
} }
return acc; return acc;
}, {}); }, Array.isArray(obj) ? [] : {});
} }
protected setEntitiesTableConfig(entitiesTableConfig: C) { protected setEntitiesTableConfig(entitiesTableConfig: C) {

Loading…
Cancel
Save