Skip to content

Commit 50f709f

Browse files
authored
Merge pull request #314 from topcoder-platform/master
fix: clean reviews
2 parents de056d2 + ddfcff3 commit 50f709f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/helper.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ function cleanseReviews (reviews, authUser) {
757757
cleansedReviews.push(review)
758758
})
759759

760-
return cleansedReviews
760+
return cleansedReviews.filter(r => r != null)
761761
}
762762
}
763763

0 commit comments

Comments
 (0)