Can't get loaded model attributes in Ember.js -
i hava model, transaction-result, have loaded of associations in aftermodel hook prior hitting point. can see on transactionresult
console output it's runresult
association loaded.
i'm able access data want via _data
but when try get
runresult
association, receive appears empty ember object.
where going wrong?
i not 100% sure source of problem when result of association ember return promise, can try that
model.get("runresult").then(function(runresult){ console.log(runresult) })
Comments
Post a Comment