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() {
if (success) {
ti = firebase.firestore().collection('matchSignupsIndividual').doc(user.uid).collection("team-" + teamNum).doc(currentComp);
label =
push = {
`match-${matchNum.toString()} ${position}`: {
'completed': false,
'series': seriesNum.toString()
}
var push = {}
push["match-" + matchNum.toString() + " " + position] = {
'completed': false,
'series': seriesNum.toString()
}
ti.set(push, {
merge: true