Skip to content

Commit cfaa104

Browse files
Merge pull request #440 from topcoder-platform/aggregate-mm-data
fix rating color
2 parents 472721b + 3d90d49 commit cfaa104

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/ChallengeService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1232,7 +1232,7 @@ async function getChallengeStatistics (currentUser, id) {
12321232
map[submission.memberId] = {
12331233
photoUrl: member.photoURL,
12341234
rating: _.get(member, 'maxRating.rating', 0),
1235-
ratingColor: _.get(member, 'maxRating.rating', '#9D9FA0'),
1235+
ratingColor: _.get(member, 'maxRating.ratingColor', '#9D9FA0'),
12361236
homeCountryCode: member.homeCountryCode,
12371237
handle: member.handle,
12381238
submissions: []

0 commit comments

Comments
 (0)