This commit is contained in:
Jacob Levine 2019-03-18 18:28:47 -05:00
parent 8f4e6e3510
commit 7dbffc940a

View File

@ -79,7 +79,7 @@ function changeTeam(teamNum) {
cci = firebase.firestore().collection('matchSignupsTeam').doc("team-" + teamNum).collection('competitions').doc(currentComp); cci = firebase.firestore().collection('matchSignupsTeam').doc("team-" + teamNum).collection('competitions').doc(currentComp);
cci.get().then(function(doc) { cci.get().then(function(doc) {
if (doc.exists) { if (doc.exists) {
compInfo = cci.data(); compInfo = doc.data();
matches = Object.keys(compInfo); matches = Object.keys(compInfo);
matches.sort(); matches.sort();
var nr = [], var nr = [],