diff --git a/js/redux/tournamentApi.js b/js/redux/tournamentApi.js index 2a35483..50bb15c 100644 --- a/js/redux/tournamentApi.js +++ b/js/redux/tournamentApi.js @@ -106,7 +106,9 @@ function convertGroup(apiGroup) { function convertMatch(apiMatch, allowUndecided) { const result = { - id: apiMatch.id, state: apiMatch.state, allowUndecided: allowUndecided, + id: apiMatch.id, + state: apiMatch.state, + allowUndecided: allowUndecided, winnerTeamId: apiMatch.winner === null ? null : apiMatch.winner.id, position: apiMatch.position + 1 };