We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5477ee8 commit 27a0296Copy full SHA for 27a0296
projects/igniteui-angular/src/lib/grids/grid/grid.pipes.ts
@@ -129,7 +129,7 @@ export class IgxGridUnmergeActivePipe implements PipeTransform {
129
// if nothing to update, return
130
return collection;
131
}
132
- const result = cloneArray(collection) as any;
+ let result = cloneArray(collection) as any;
133
uniqueRoots.forEach(x => {
134
const index = result.indexOf(x);
135
const colKeys = [...x.cellMergeMeta.keys()];
@@ -152,7 +152,7 @@ export class IgxGridUnmergeActivePipe implements PipeTransform {
152
this.grid);
153
154
155
- result.splice(index, res.length, ...res);
+ result = result.slice(0, index).concat(res, result.slice(index + res.length));
156
});
157
158
0 commit comments