Skip to content

Commit 06cfc13

Browse files
committed
Handle a null external score properly, with respect to averages.
1 parent f2dfdc3 commit 06cfc13

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

web-ui/src/pages/PulseReportPage.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,9 @@ const PulseReportPage = () => {
228228
internalScores: []
229229
};
230230
}
231-
averages.externalScores.push(externalScore);
231+
if (externalScore != null) {
232+
averages.externalScores.push(externalScore);
233+
}
232234
averages.internalScores.push(internalScore);
233235
}
234236
}

0 commit comments

Comments
 (0)