Skip to content

Commit 1a8a34a

Browse files
committed
fixes
1 parent b29241e commit 1a8a34a

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

services/app/apps/codebattle/assets/js/widgets/pages/lobby/TournamentListItem.jsx

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,10 @@ const TournamentAction = ({ tournament, isAdmin = false }) => {
120120
};
121121

122122
const showStartsAt = state => [
123-
tournamentStates.active,
124-
tournamentStates.waitingParticipants,
125-
tournamentStates.upcoming,
126-
].includes(state);
123+
tournamentStates.active,
124+
tournamentStates.waitingParticipants,
125+
tournamentStates.upcoming,
126+
].includes(state);
127127

128128
export const activeIcon = (
129129
<FontAwesomeIcon
@@ -160,6 +160,11 @@ const TournamentListItem = ({ tournament, icon, isAdmin = false }) => (
160160
title={tournament.name}
161161
className="text-nowrap d-inline-flex mt-2 text-white text-nowrap"
162162
>
163+
<FontAwesomeIcon
164+
icon="medal"
165+
className="mr-2 text-warning"
166+
style={iconSize}
167+
/>
163168
<span className="text-warning">
164169
{getRankingPoints(tournament.grade)[0]}
165170
</span>

0 commit comments

Comments
 (0)