DS.PromiseArray retrieve object


#1

Hi I have a landing page with and in the model route i have

model(){ var tmpModel = {}; return this.store.query(‘user’, {filter: {user: this.get(‘auth.currentUser.id’)}}); tmpModel.user=user; console.log(tmpModel); return tmpModel;

},

who in the view hbs can i retrieve the user, if i make

{{model.user.length}} this is 1 but {{model.user.email}} ecc…not print