Skip to content

Commit 48dbd28

Browse files
authored
Merge pull request #311 from topcoder-platform/hotfix/PLAT-2968
fix: clean reviews
2 parents 86b6c7c + 734b7b5 commit 48dbd28

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
@@ -761,7 +761,7 @@ function cleanseReviews (reviews, authUser) {
761761
}
762762
}
763763

764-
return reviews
764+
return reviews.filter(r => r != null)
765765
}
766766

767767
/**

0 commit comments

Comments
 (0)