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

hide timeSeries for entity-details

parent fdab5dc8
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,8 @@ export default Ember.Component.extend({
const properties = [];
const entity = this.get('entity');
entity.eachAttribute(property => {
if(property.indexOf('Id') < 0) {
// do not show internal relations, also timeSeries gets plotted
if(property.indexOf('Id') < 0 && property !== 'timeSeries') {
properties.push({key: property, value: entity.get(property)});
}
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment