neighbours function doesn't like empty neighbours
This commit is contained in:
parent
d1c27b709f
commit
594ee53194
|
@ -282,7 +282,9 @@
|
|||
{%- endfor %}
|
||||
];
|
||||
$(document).ready(function() {
|
||||
{%- if router.neighbours|length > 0 %}
|
||||
neighbour_graph(neighbours);
|
||||
{%- endif %}
|
||||
memory_graph();
|
||||
process_graph();
|
||||
client_graph();
|
||||
|
|
Loading…
Reference in New Issue