mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-10 15:04:45 +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()]);
|
||||||
@ -196,7 +196,8 @@ function addMatch(matchNum, seriesNum, position) {
|
|||||||
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