Skip to content

Commit

Permalink
Merge pull request #5711 from topcoder-platform/develop
Browse files Browse the repository at this point in the history
fix: null issue
  • Loading branch information
sushilshinde authored Sep 23, 2021
2 parents 8768f91 + 0e3b2cf commit 8c5ab1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,7 @@ workflows:
branches:
only:
- develop
- fix-score-issue
# Production builds are exectuted
# when PR is merged to the master
# Don't change anything in this configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ class SubmissionsComponent extends React.Component {
</div>
<div styleName="col-5">
{
(!_.isEmpty(s.review) && s.review[0].score)
(!_.isEmpty(s.review) && !_.isEmpty(s.review[0]) && s.review[0].score)
? s.review[0].score.toFixed(2)
: 'N/A'
}
Expand Down

0 comments on commit 8c5ab1a

Please sign in to comment.