From 2a99dff86742f0562f8f274e91fa0463126acc1b Mon Sep 17 00:00:00 2001 From: Mathis Neumann <mathis@simpletechs.net> Date: Wed, 13 Jul 2016 14:15:06 +0200 Subject: [PATCH] hide timeSeries for entity-details --- app/components/entity-details.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/components/entity-details.js b/app/components/entity-details.js index de4c117..b59de42 100644 --- a/app/components/entity-details.js +++ b/app/components/entity-details.js @@ -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)}); } }); -- GitLab