@@ -7,7 +7,6 @@ import React from 'react';
7
7
import PT from 'prop-types' ;
8
8
import moment from 'moment' ;
9
9
import { isMM as checkIsMM } from 'utils/challenge' ;
10
- import { getRatingLevel } from 'utils/tc' ;
11
10
import _ from 'lodash' ;
12
11
import { connect } from 'react-redux' ;
13
12
import { config } from 'topcoder-react-utils' ;
@@ -19,7 +18,7 @@ import { PrimaryButton } from 'topcoder-react-ui-kit';
19
18
import sortList from 'utils/challenge-detail/sort' ;
20
19
import challengeDetailsActions from 'actions/page/challenge-details' ;
21
20
import LoadingIndicator from 'components/LoadingIndicator' ;
22
- import { goToLogin } from 'utils/tc' ;
21
+ import { goToLogin , getRatingLevel } from 'utils/tc' ;
23
22
import Lock from '../icons/lock.svg' ;
24
23
import SubmissionRow from './SubmissionRow' ;
25
24
import SubmissionInformationModal from './SubmissionInformationModal' ;
@@ -708,7 +707,7 @@ class SubmissionsComponent extends React.Component {
708
707
< div key = { s . createdBy + s . created } styleName = "row" >
709
708
{
710
709
! isF2F && ! isBugHunt && (
711
- < div styleName = { `col-2 level-${ getRatingLevel ( _ . get ( s . registrant , 'rating' , 0 ) ) } ` } >
710
+ < div styleName = { `col-2 level-${ getRatingLevel ( _ . get ( s . registrant , 'rating' , 0 ) ) } ` } >
712
711
{ ( s . registrant && ! _ . isNil ( s . registrant . rating ) ) ? s . registrant . rating : '-' }
713
712
</ div >
714
713
)
0 commit comments