This commit is contained in:
Jacob Levine 2019-03-22 00:31:31 -05:00
parent 28b5c6868e
commit ebe25312b5

View File

@ -384,7 +384,11 @@ function subReport() {
} }
firebase.firestore().collection("data").doc('team-' + document.getElementById('tns').value).collection(currentComp).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
}) }).then(function() {
alert('Submitted!')
setTimeout(function() {
window.location.href = '../scout';
}, 500);
} }
}); });
} }