Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4838

Passing A Promise From The Model To A Component

$
0
0

@ewaschenko wrote:

Hi, I'm my template I'm try to pass in a property of my model to a component.

{{display-notifications notifications=model.notifications}}

Where model has
notifications: DS.hasMany('notification', {async:true, inverse: 'user'}),

The problem is inside my component the notification promise hasn't been fulfilled yet.
Any tips how how I can fix this?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4838

Trending Articles