File tree 2 files changed +3
-3
lines changed
src/shared/components/Leaderboard 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,9 +40,9 @@ class ChallengeHistoryModal extends Component {
40
40
const { sortParam } = this . state ;
41
41
const challengesOrdered = _ . orderBy ( challenges , [ sortParam . field ] , [ sortParam . order ] ) ;
42
42
// eslint-disable-next-line
43
- const placeLabel = competitor [ 'member_profile_basic.handle' ] ? ( competitor [ ' tco23_leaderboard.placement '] ? 'tco23_leaderboard.placement' : 'tco_leaderboard.placement' ) : 'place ';
43
+ const placeLabel = competitor [ 'tco23_leaderboard.challenge_count ' ] ? 'tco23_leaderboard.placement' : 'tco_leaderboard.placement' ;
44
44
// eslint-disable-next-line
45
- const pointsLabel = competitor [ 'member_profile_basic.handle' ] ? ( competitor [ ' tco23_leaderboard.tco_points'] ? 'tco23_leaderboard.tco_points' : 'tco_leaderboard.tco_points' ) : 'points ';
45
+ const pointsLabel = competitor [ 'tco23_leaderboard.tco_points' ] ? 'tco23_leaderboard.tco_points' : 'tco_leaderboard.tco_points' ;
46
46
const styles = THEMES [ themeName ] || THEMES . Default ;
47
47
/* eslint-disable no-confusing-arrow */
48
48
const sortInner = ( ) => themeName === 'TCO23' ? (
Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ export default function PodiumSpot(props) {
224
224
</ div >
225
225
) : null
226
226
}
227
- < div styleName = { `${ stylesName } .stats` } >
227
+ < div styleName = { `${ stylesName } .stats` } style = { { alignItems : 'flex-start' } } >
228
228
< span styleName = { `${ stylesName } .value` } > { formatPoints ( tcoPoints ) } </ span >
229
229
< span styleName = { `${ stylesName } .value-title` } > points</ span >
230
230
</ div >
You can’t perform that action at this time.
0 commit comments