diff --git a/website/public/scout/signUps/scripts.js b/website/public/scout/signUps/scripts.js index 1d86cbd6..a482c2ac 100644 --- a/website/public/scout/signUps/scripts.js +++ b/website/public/scout/signUps/scripts.js @@ -79,7 +79,7 @@ function changeTeam(teamNum) { cci = firebase.firestore().collection('matchSignupsTeam').doc("team-" + teamNum).collection('competitions').doc(currentComp); cci.get().then(function(doc) { if (doc.exists) { - compInfo = cci.data(); + compInfo = doc.data(); matches = Object.keys(compInfo); matches.sort(); var nr = [],