From 8f4e6e3510884027bc1c763c9001d83451fb2326 Mon Sep 17 00:00:00 2001 From: Jacob Levine Date: Mon, 18 Mar 2019 18:27:46 -0500 Subject: [PATCH] bugfix 3 --- website/public/scout/signUps/scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/public/scout/signUps/scripts.js b/website/public/scout/signUps/scripts.js index 47bc8cbb..1d86cbd6 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.get(); + compInfo = cci.data(); matches = Object.keys(compInfo); matches.sort(); var nr = [],