mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-12-28 10:09:09 +00:00
final profile fix
This commit is contained in:
parent
0684f982b7
commit
c5dc49f442
@ -47,7 +47,6 @@ window.onload = function() {
|
|||||||
} else {
|
} else {
|
||||||
window.location.replace('../');
|
window.location.replace('../');
|
||||||
}
|
}
|
||||||
firebase.firestore.settings({timestampsInSnapshots: true})
|
|
||||||
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) {
|
||||||
@ -62,6 +61,7 @@ window.onload = function() {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
firebase.firestore.settings({timestampsInSnapshots: true})
|
||||||
}
|
}
|
||||||
|
|
||||||
function cnt(tn) {
|
function cnt(tn) {
|
||||||
|
Loading…
Reference in New Issue
Block a user