From 37049819649d50f1d089fa86f4469c2d54e91f90 Mon Sep 17 00:00:00 2001 From: zinyando Date: Fri, 26 Aug 2016 13:36:12 +0200 Subject: [PATCH] Fix user accounts issue in zone navigation --- app/app/components/layout/zone-navigation.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/app/components/layout/zone-navigation.js b/app/app/components/layout/zone-navigation.js index bb34826c..4995c052 100644 --- a/app/app/components/layout/zone-navigation.js +++ b/app/app/components/layout/zone-navigation.js @@ -24,10 +24,10 @@ export default Ember.Component.extend({ didInitAttrs() { if (this.get("session.authenticated")) { - // this.get("session.session.content.authenticated.user.accounts").forEach((account) => { - // // TODO: do not mutate account.active here - // account.active = account.orgId === this.get("appMeta.orgId"); - // }); + this.get("session.session.content.authenticated.user.accounts").forEach((account) => { + // TODO: do not mutate account.active here + account.active = account.orgId === this.get("appMeta.orgId"); + }); } },