bugfix 22

This commit is contained in:
Jacob Levine 2019-03-22 00:30:36 -05:00
parent 0c09631813
commit 28b5c6868e

View File

@ -382,7 +382,7 @@ function subReport() {
push[user.uid][name] = document.querySelector('input[name="' + name + '"]:checked').value; push[user.uid][name] = document.querySelector('input[name="' + name + '"]:checked').value;
} }
} }
firebase.firestore().collection("data").doc('team-' + document.getElementById('tns').value).collection(comp).doc("team-" + teamNum).collection('matches').doc('match-' + mselect).set(push, { firebase.firestore().collection("data").doc('team-' + document.getElementById('tns').value).collection(currentComp).doc("team-" + teamNum).collection('matches').doc('match-' + mselect).set(push, {
merge: true merge: true
}) })
} }