Skip to content

Commit 19790eb

Browse files
TEMP fix to colorStyle in registrants return.
1 parent 5a24a45 commit 19790eb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/services/challenges.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,11 @@ class ChallengesService {
339339
.then(res => res.challenges);
340340
}
341341

342-
const registrants = await this.getChallengeRegistrants(challenge.id);
342+
let registrants = await this.getChallengeRegistrants(challenge.id);
343+
// This TEMP fix to colorStyle, this will be fixed with issue #4530
344+
registrants = _.map(registrants, r => ({
345+
...r, colorStyle: 'color: #151516',
346+
}));
343347
challenge.registrants = registrants;
344348

345349
if (memberId) {

0 commit comments

Comments
 (0)