final fixes (hopefully this time)

This commit is contained in:
Jacob Levine 2019-03-07 20:21:05 -06:00
parent 2c9e553b57
commit 0e358a9a14

View File

@ -138,6 +138,7 @@ function reqjt(tn, tc) {
}
function leaveTeam(tn) {
user = firebase.auth().currentUser;
teamAssoc = firebase.firestore().collection('UserAssociations').doc(user.uid)
teamAssoc.get().then(function(doc) {
if (doc.exists) {