commit | 265c204254a062701f8848be2ce4e328e0ca09e6 | [log] [tgz] |
---|---|---|
author | Matteo Scandolo <matteo.scandolo@gmail.com> | Mon Mar 20 10:15:40 2017 -0700 |
committer | Matteo Scandolo <matteo.scandolo@gmail.com> | Mon Mar 20 10:37:31 2017 -0700 |
tree | f7026225372bfc7d035cccafb7abcde3c7bd372b | |
parent | 98b5f5dbc89137b54fe1000c550240b1563e4eda [diff] [blame] |
Displaying the graph also if tenants are not present Prevent routes from beeing duplicated Change-Id: Icf6967d450f32e8d80f365c1be3181e3c10c178e
diff --git a/src/app/service-graph/components/fine-grained/fine-grained.component.ts b/src/app/service-graph/components/fine-grained/fine-grained.component.ts index 5647c75..7f69387 100644 --- a/src/app/service-graph/components/fine-grained/fine-grained.component.ts +++ b/src/app/service-graph/components/fine-grained/fine-grained.component.ts
@@ -55,7 +55,7 @@ (graph) => { this.$log.debug(`[XosFineGrainedTenancyGraphCtrl] Fine-Grained Event and render`, graph); - if (!graph.nodes || graph.nodes.length === 0 || !graph.links || graph.links.length === 0) { + if (!graph || !graph.nodes || !graph.links) { return; }