mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-12-27 01:59:08 +00:00
bugfix 16
This commit is contained in:
parent
f59d94282d
commit
2e356405e1
@ -109,7 +109,7 @@ function firstWord(words) {
|
|||||||
function updateForm(locString, teamNum, competition) {
|
function updateForm(locString, teamNum, competition) {
|
||||||
seriesList = [];
|
seriesList = [];
|
||||||
document.getElementById('FormData').innerHTML = ""
|
document.getElementById('FormData').innerHTML = ""
|
||||||
loc = firebase.firestore().collection('appBuliding').document("team-" + teamNum).collection('competitions').document(competition).collection(lastWord(locString));
|
loc = firebase.firestore().collection('appBuliding').doc("team-" + teamNum).collection('competitions').doc(competition).collection(lastWord(locString));
|
||||||
loc.get().then(function(docs) {
|
loc.get().then(function(docs) {
|
||||||
docs.forEach(function(doc) {
|
docs.forEach(function(doc) {
|
||||||
seriesList.push(doc.data());
|
seriesList.push(doc.data());
|
||||||
|
Loading…
Reference in New Issue
Block a user