changeset 271 | e234339fe8df |
parent 270 | 6ddc52965fb8 |
child 278 | f2c2c80a49f7 |
--- a/cms/app-client/app/components/notice-component.js Thu Aug 25 19:10:41 2016 +0200 +++ b/cms/app-client/app/components/notice-component.js Fri Aug 26 11:42:10 2016 +0200 @@ -30,7 +30,7 @@ subjects: Ember.computed('item.subjects', function() { var subjects = []; if(this.get('item')) { - this.get('subjects').forEach(function(subject) { + this.get('item').get('subjects').forEach(function(subject) { var object = {}; if(typeof subject === 'object') { if(subject.datatype) {