Skip to content

Commit d259bc9

Browse files
MKirovaMKirova
authored andcommitted
chore(*): fix lint errors.
1 parent 0e90321 commit d259bc9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

projects/igniteui-angular/src/lib/grids/grid/grid.pipes.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,20 +131,20 @@ export class IgxGridUnmergeActivePipe implements PipeTransform {
131131
uniqueRoots.forEach(x => {
132132
const index = result.indexOf(x);
133133
const colKeys = [...x.cellMergeMeta.keys()];
134-
const cols = colsToMerge.filter(x => colKeys.indexOf(x.field) !== -1);
134+
const cols = colsToMerge.filter(col => colKeys.indexOf(col.field) !== -1);
135135
let res = [];
136136
for (const col of cols) {
137137

138138
let childData = x.cellMergeMeta.get(col.field).childRecords;
139-
const childRecs = childData.map(x => x.recordRef);
139+
const childRecs = childData.map(rec => rec.recordRef);
140140
const isDate = col?.dataType === 'date' || col?.dataType === 'dateTime';
141141
const isTime = col?.dataType === 'time' || col?.dataType === 'dateTime';
142142
res = this.grid.mergeStrategy.merge(
143143
[x.recordRef, ...childRecs],
144144
col.field,
145145
col.mergingComparer,
146146
res,
147-
activeRowIndexes.map(x => x - index),
147+
activeRowIndexes.map(ri => ri - index),
148148
isDate,
149149
isTime,
150150
this.grid);

0 commit comments

Comments
 (0)