mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-10 15:04:45 +00:00
bugfix 14
This commit is contained in:
parent
733c7cbfe7
commit
b0ad3bdf9c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user