diff options
Diffstat (limited to 'frontend/src/api/Maps.ts')
| -rw-r--r-- | frontend/src/api/Maps.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/api/Maps.ts b/frontend/src/api/Maps.ts index aa967ce..8d29f84 100644 --- a/frontend/src/api/Maps.ts +++ b/frontend/src/api/Maps.ts | |||
| @@ -17,9 +17,9 @@ export const get_map_leaderboard = async (map_id: string, page: string): Promise | |||
| 17 | // map the kind of leaderboard | 17 | // map the kind of leaderboard |
| 18 | data.records = data.records.map((record: any) => { | 18 | data.records = data.records.map((record: any) => { |
| 19 | if (record.host && record.partner) { | 19 | if (record.host && record.partner) { |
| 20 | return { ...record, kind: 'multiplayer' }; | 20 | return { ...record, kind: "multiplayer" }; |
| 21 | } else { | 21 | } else { |
| 22 | return { ...record, kind: 'singleplayer' }; | 22 | return { ...record, kind: "singleplayer" }; |
| 23 | } | 23 | } |
| 24 | }); | 24 | }); |
| 25 | return data; | 25 | return data; |