We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f019bc4 + 0e3b2cf commit 22926c5Copy full SHA for 22926c5
src/shared/components/challenge-detail/Submissions/index.jsx
@@ -731,7 +731,7 @@ class SubmissionsComponent extends React.Component {
731
</div>
732
<div styleName="col-5">
733
{
734
- (!_.isEmpty(s.review) && s.review[0].score)
+ (!_.isEmpty(s.review) && !_.isEmpty(s.review[0]) && s.review[0].score)
735
? s.review[0].score.toFixed(2)
736
: 'N/A'
737
}
0 commit comments