mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-12-27 01:59:08 +00:00
af
This commit is contained in:
parent
28b5c6868e
commit
ebe25312b5
@ -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);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user