This commit is contained in:
Jacob Levine 2019-03-22 09:18:59 -05:00
parent fed48bc999
commit 628dac5835

View File

@ -390,7 +390,7 @@ function subReport() {
} catch (e) {
}
firebase.firestore().collection("data").doc('team-' + document.getElementById('tns').value).collection(currentComp).doc("team-" + teamNum).collection('matches').doc('match-' + matchNum).set(function() {
firebase.firestore().collection("data").doc('team-' + document.getElementById('tns').value).collection(currentComp).doc("team-" + teamNum).collection('matches').doc('match-' + matchNum).set(push, {merge:true}).then(function() {
alert('Submitted!')
setTimeout(function() {
window.location.href = '../scout';