Skip to content
Snippets Groups Projects
Commit c52c3e31 authored by Mathis Neumann's avatar Mathis Neumann
Browse files

update entity-details when entity updates

parent c40df2c6
No related branches found
No related tags found
No related merge requests found
......@@ -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')
})
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment