Skip to content

Commit 843c7ec

Browse files
authored
Merge pull request #200 from simranb86/issue_4556
fix for issue #4556
2 parents 915166d + a633cdd commit 843c7ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/challenges.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ class ChallengesService {
363363
// Remove AV Scan, SonarQube Review and Virus Scan review types
364364
const reviewScans = await this.private.submissionsService.getScanReviewIds();
365365
submissions.forEach((s, i) => {
366-
submissions[i].review = _.reject(s.review, r => _.includes(reviewScans, r.typeId));
366+
submissions[i].review = _.reject(s.review, r => r && _.includes(reviewScans, r.typeId));
367367
});
368368

369369
// Add submission date to registrants

0 commit comments

Comments
 (0)