mirror of
https://github.com/documize/community.git
synced 2025-07-19 05:09:42 +02:00
Fix user accounts issue in zone navigation
This commit is contained in:
parent
9483c44561
commit
3704981964
1 changed files with 4 additions and 4 deletions
|
@ -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");
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue