mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-10 06:54:44 +00:00
final fixes (hopefully this time)
This commit is contained in:
parent
2c9e553b57
commit
0e358a9a14
@ -138,6 +138,7 @@ function reqjt(tn, tc) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function leaveTeam(tn) {
|
function leaveTeam(tn) {
|
||||||
|
user = firebase.auth().currentUser;
|
||||||
teamAssoc = firebase.firestore().collection('UserAssociations').doc(user.uid)
|
teamAssoc = firebase.firestore().collection('UserAssociations').doc(user.uid)
|
||||||
teamAssoc.get().then(function(doc) {
|
teamAssoc.get().then(function(doc) {
|
||||||
if (doc.exists) {
|
if (doc.exists) {
|
||||||
|
Loading…
Reference in New Issue
Block a user