mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-12-27 01:59:08 +00:00
bugfix 4
This commit is contained in:
parent
8f4e6e3510
commit
7dbffc940a
@ -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 = [],
|
||||||
|
Loading…
Reference in New Issue
Block a user