Skip to content

Commit 46f0fad

Browse files
MKirovaMKirova
authored andcommitted
fix(pivot): Fix issue with key value beign overrided with original record value.
1 parent 244e792 commit 46f0fad

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
@@ -320,7 +320,7 @@ export class PivotUtil {
320320
// only 1 child record, apply same props to parent.
321321
const keys = Object.assign({}, pivotKeys) as any;
322322
const memberName = h[pivotKeys.children].entries().next().value[1].dimension.memberName;
323-
keys[memberName] = nested[memberName];
323+
keys[memberName] = memberName;
324324
PivotUtil.processSiblingProperties(nested[pivotKeys.records][0], [nested], keys);
325325
}
326326
}

0 commit comments

Comments
 (0)