This commit is contained in:
Jacob Levine 2019-03-22 09:13:44 -05:00
parent e5bb5b6ef7
commit 365b9e1882

View File

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