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 7cb0256 + 4f2b934 commit 0e3b2cfCopy full SHA for 0e3b2cf
.circleci/config.yml
@@ -371,6 +371,7 @@ workflows:
371
branches:
372
only:
373
- develop
374
+ - fix-score-issue
375
# Production builds are exectuted
376
# when PR is merged to the master
377
# Don't change anything in this configuration
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