diff --git a/app/components/entity-details.js b/app/components/entity-details.js index d62d94fbb2b9e2a6d2b961286d38f35f526ad6e7..196b72b203b9decc731970e379a2f0b4d9645508 100644 --- a/app/components/entity-details.js +++ b/app/components/entity-details.js @@ -3,7 +3,7 @@ import Ember from 'ember'; export default Ember.Component.extend({ entity: null, - filteredProperties: function(){ + filteredProperties: Ember.computed('entity', 'entity._updated', function(){ this.debug('entity', this.get('entity')); const properties = []; const entity = this.get('entity'); @@ -15,6 +15,6 @@ export default Ember.Component.extend({ }); this.debug('properties', properties); return properties; - }.property('entity') + }) });