updated api-call error-handling
This commit is contained in:
@@ -55,6 +55,8 @@ export default {
|
||||
|
||||
const parseObject = async () => {
|
||||
data.rounds = await GetPlayerValue(store, store.state.matchDetails.match_id)
|
||||
if (data.rounds === null)
|
||||
data.rounds = {}
|
||||
|
||||
for (const round in data.rounds) {
|
||||
for (const player in data.rounds[round]) {
|
||||
|
||||
Reference in New Issue
Block a user