From c52c3e317c9952554b3a3690f9221603f0edb3a8 Mon Sep 17 00:00:00 2001 From: Mathis Neumann <mathis@simpletechs.net> Date: Sun, 10 Jul 2016 18:49:18 +0200 Subject: [PATCH] update entity-details when entity updates --- app/components/entity-details.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/entity-details.js b/app/components/entity-details.js index d62d94f..196b72b 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') + }) }); -- GitLab