bugfix 14

This commit is contained in:
Jacob Levine 2019-03-18 20:47:16 -05:00
parent 733c7cbfe7
commit b0ad3bdf9c

View File

@ -195,12 +195,10 @@ function addMatch(matchNum, seriesNum, position) {
}).then(function() { }).then(function() {
if (success) { if (success) {
ti = firebase.firestore().collection('matchSignupsIndividual').doc(user.uid).collection("team-" + teamNum).doc(currentComp); ti = firebase.firestore().collection('matchSignupsIndividual').doc(user.uid).collection("team-" + teamNum).doc(currentComp);
label = var push = {}
push = { push["match-" + matchNum.toString() + " " + position] = {
`match-${matchNum.toString()} ${position}`: { 'completed': false,
'completed': false, 'series': seriesNum.toString()
'series': seriesNum.toString()
}
} }
ti.set(push, { ti.set(push, {
merge: true merge: true