From 37bad7137e3f64913705566f904938f98c4c88ef Mon Sep 17 00:00:00 2001 From: Michael Foiani Date: Fri, 3 Aug 2018 16:31:36 -0400 Subject: Allowd for account page to show correct division based on data in database. --- src/components/mao-account.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/components') diff --git a/src/components/mao-account.js b/src/components/mao-account.js index 7a654fd..e4a206e 100644 --- a/src/components/mao-account.js +++ b/src/components/mao-account.js @@ -103,7 +103,7 @@ class MaoAccount extends connect(store)(PageViewElement) {

${props.userEmail.replace("@communityschoolnaples.org", "")}

Divison

-

Mu

+

${props.divison}

@@ -149,15 +149,15 @@ class MaoAccount extends connect(store)(PageViewElement) { static get properties() { return { // This is the data from the store. signedIn: Boolean, - authMessage: String, userEmail: String, - registeredComps: Array + registeredComps: Array, + divison: String }} _stateChanged(state) { this.signedIn = state.firebase.initialized; - this.authMessage = state.firebase.authMessage; this.userEmail = state.firebase.userEmail; + this.divison = state.firebase.divison; this.registeredComps = state.firebase.registeredComps; this.createCompetitionList( this.registeredComps); -- cgit v1.2.3-70-g09d2