File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
projects/igniteui-angular/src/lib/grids/grid Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 ) ;
You can’t perform that action at this time.
0 commit comments