Skip to content

Commit 0bb02b4

Browse files
MKirovaMKirova
authored andcommitted
chore(*): Copy objects in sample so that same ref is not used as key.
1 parent bc10ad5 commit 0bb02b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/grid-cellMerging/grid-cellMerging.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export class GridCellMergingComponent {
7171
const length = INVOICE_DATA.length;
7272
for (let i = 1; i <= 600_000; i++) {
7373
const rnd = Math.floor(Math.random() * length);
74-
allData.push(INVOICE_DATA[rnd]);
74+
allData.push(Object.assign({}, INVOICE_DATA[rnd]));
7575
}
7676

7777
this.data = allData;

0 commit comments

Comments
 (0)