Skip to content

Commit 343e84a

Browse files
committed
Shallow copy row.
1 parent c8e9699 commit 343e84a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/extensions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function getAtRisk({matrices}) {
3535
if(atRisk(row?.cells)) {
3636
// do not include duplicate statements
3737
if(!riskRows.find(r => r.id === row.id)) {
38-
const riskRow = structuredClone(row);
38+
const riskRow = {...row};
3939
riskRow.cells = [{state: 'failed'}];
4040
riskRows.push(riskRow);
4141
}

0 commit comments

Comments
 (0)