diff --git a/js/app/ui/system_graph.js b/js/app/ui/system_graph.js index 1a845c4e..134c266b 100644 --- a/js/app/ui/system_graph.js +++ b/js/app/ui/system_graph.js @@ -150,7 +150,7 @@ define([ dataType: 'json' }).done(function(systemGraphsData){ - if(systemGraphsData.length > 0){ + if( !$.isEmptyObject(systemGraphsData) ){ // create new (hidden) module container var moduleElement = $('