File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -303,6 +303,7 @@ Object {
303
303
" SUBMISSION_END_DATE" : " submissionEndDate" ,
304
304
},
305
305
" default" : undefined ,
306
+ " fixColorStyle" : [Function ],
306
307
" getService" : [Function ],
307
308
" normalizeChallenge" : [Function ],
308
309
},
Original file line number Diff line number Diff line change @@ -363,7 +363,7 @@ class ChallengesService {
363
363
364
364
/* Prepare data to logged user */
365
365
if ( memberId ) {
366
- isRegistered = _ . some ( registrants , r => r . memberId === memberId ) ;
366
+ isRegistered = _ . some ( registrants , r => ` ${ r . memberId } ` === ` ${ memberId } ` ) ;
367
367
368
368
const subParams = {
369
369
challengeId,
@@ -381,7 +381,7 @@ class ChallengesService {
381
381
382
382
// Add submission date to registrants
383
383
registrants . forEach ( ( r , i ) => {
384
- const submission = submissions . find ( s => s . memberId === Number ( r . memberId ) ) ;
384
+ const submission = submissions . find ( s => ` ${ s . memberId } ` === ` ${ r . memberId } ` ) ;
385
385
if ( submission ) {
386
386
registrants [ i ] . submissionDate = submission . created ;
387
387
}
You can’t perform that action at this time.
0 commit comments