Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9138a8c

Browse files
committedNov 24, 2019
fix for issue #3469
1 parent f54faea commit 9138a8c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎src/utils/submission.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,7 @@ export function processMMSubmissions(submissions, resources, registrants) {
134134
if (!data[memberHandle]) {
135135
data[memberHandle] = [];
136136
}
137-
const validReviews = _.filter(submission.review,
138-
r => !_.isEmpty(r) && (r.typeId !== AV_SCAN_SCORER_REVIEW_TYPE_ID));
137+
const validReviews = _.reject(submission.review, ['typeId', AV_SCAN_SCORER_REVIEW_TYPE_ID]);
139138
validReviews.sort((a, b) => {
140139
const dateA = new Date(a.created);
141140
const dateB = new Date(b.created);

0 commit comments

Comments
 (0)