From f1fae1a977b57ae141df5393e5349c07a3848d6c Mon Sep 17 00:00:00 2001 From: Mathis Neumann <mathis@simpletechs.net> Date: Thu, 14 Jul 2016 18:10:43 +0200 Subject: [PATCH] synchronize status property with server data structure --- app/components/architecture-visualisation-cytoscape/style.js | 4 ++-- app/models/measurable.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/components/architecture-visualisation-cytoscape/style.js b/app/components/architecture-visualisation-cytoscape/style.js index 4598bd7..c3e918e 100644 --- a/app/components/architecture-visualisation-cytoscape/style.js +++ b/app/components/architecture-visualisation-cytoscape/style.js @@ -92,10 +92,10 @@ edge { curve-style: bezier; /* supports arrows */ } -.warning { +.WARNING { background-color: yellow; } -.fail { +.FAIL { background-color: red; } diff --git a/app/models/measurable.js b/app/models/measurable.js index d3dc7b9..24f4123 100644 --- a/app/models/measurable.js +++ b/app/models/measurable.js @@ -4,7 +4,7 @@ import attr from 'ember-data/attr'; const Model = BaseEntity.extend({ timeSeries: attr(), statusInformations: attr(), - status: attr('string') + status: attr('string') // NORMAL, WARNING, FAIL }); export default Model; -- GitLab