mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-10 06:54:44 +00:00
bugfix 9
This commit is contained in:
parent
bf1572765c
commit
3ec4de4fb1
@ -100,7 +100,7 @@ function changeTeam(teamNum) {
|
|||||||
if (mi['mid-blue']['series-' + (j + 1).toString()] != null) {
|
if (mi['mid-blue']['series-' + (j + 1).toString()] != null) {
|
||||||
mb.push(mi['mid-blue']['series-' + (j + 1).toString()]);
|
mb.push(mi['mid-blue']['series-' + (j + 1).toString()]);
|
||||||
} else {
|
} else {
|
||||||
mb.push("<span onclick='addMatch(" + (i + 1).toString() + "+", (j + 1).toString() + ",'mid-blue')'>open</span>");
|
mb.push("<span onclick='addMatch(" + (i + 1).toString() + "," + (j + 1).toString() + ",'mid-blue')'>open</span>");
|
||||||
}
|
}
|
||||||
if (mi['near-blue']['series-' + (j + 1).toString()] != null) {
|
if (mi['near-blue']['series-' + (j + 1).toString()] != null) {
|
||||||
nb.push(mi['near-blue']['series-' + (j + 1).toString()]);
|
nb.push(mi['near-blue']['series-' + (j + 1).toString()]);
|
||||||
@ -195,8 +195,9 @@ 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="match-" + matchNum.toString()+" "+position
|
label = "match-" + matchNum.toString() + " " + position
|
||||||
push = {label: {
|
push = {
|
||||||
|
label: {
|
||||||
'completed': false,
|
'completed': false,
|
||||||
'series': seriesNum.toString()
|
'series': seriesNum.toString()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user