Skip to content

Commit 471f5ef

Browse files
committed
chore(pivot): Pass proper parameters in flatten function
1 parent bab0cc3 commit 471f5ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/igniteui-angular/src/lib/grids/pivot-grid/pivot-util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ export class PivotUtil {
173173
acc.push(item);
174174
if (item.childLevel) {
175175
item.expandable = true;
176-
acc = acc.concat(this.flatten(item.childLevel, lvl + 1));
176+
acc = acc.concat(this.flatten([item.childLevel], lvl + 1));
177177
}
178178
return acc;
179179
}, []);

0 commit comments

Comments
 (0)