Commit 47c85fdcc2b629051073071aade9e27a7c87061a

Authored by YevhenBondarenko
Committed by Andrew Shvayka
1 parent 293c999f

fix deepTrim from entity.component

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