Skip to content

Commit 3d90d49

Browse files
fix rating color
1 parent 79baf63 commit 3d90d49

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)