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.

enter image description here

i'm able access data want via _data

enter image description here

but when try get runresult association, receive appears empty ember object.

where going wrong?

enter image description here

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

Popular posts from this blog

javascript - ScrollTo Effect (href to div) -

javascript - ng-class not responding to change in model in Angular? -

javascript - document.registerElement extending HTMLInputElement prototype while using custom tag name to avoid implicit browser style -