From b73c3875060c865628316c85386197986df95441 Mon Sep 17 00:00:00 2001 From: Alon Heller Date: Wed, 1 Feb 2017 13:53:03 +0200 Subject: [PATCH] entities graph refresh fix, now shows red alarm Change-Id: Ifdf32e5c62b568eb4938dfe8a643cb765372dfa0 --- .../dashboard/project/components/sunburst/sunburst.directive.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vitrage_dashboard/dashboard/static/dashboard/project/components/sunburst/sunburst.directive.js b/vitrage_dashboard/dashboard/static/dashboard/project/components/sunburst/sunburst.directive.js index b48a651..af3e368 100644 --- a/vitrage_dashboard/dashboard/static/dashboard/project/components/sunburst/sunburst.directive.js +++ b/vitrage_dashboard/dashboard/static/dashboard/project/components/sunburst/sunburst.directive.js @@ -217,7 +217,7 @@ function hzSunburst() { var name = d.name, dots = '...'; - if (name.length > 4) { + if (name && name.length > 4) { name = d.name.substring(0, 4) + dots; } return name;