fixed undefined node version

pull/5/head
cubedro 10 years ago
parent 61b5ddd125
commit 98253b9f3f
  1. 2
      public/js/filters.js

@ -275,7 +275,7 @@ angular.module('netStatsApp.filters', [])
var tooltip = []; var tooltip = [];
var string = ''; var string = '';
if(node.info.node !== '') { if(node.info.node !== '' && typeof node.info.node !== 'undefined') {
var eth_version = node.info.node.split('/'); var eth_version = node.info.node.split('/');
if(eth_version[1][0] !== 'v' && eth_version[1][2] !== '.') if(eth_version[1][0] !== 'v' && eth_version[1][2] !== '.')

Loading…
Cancel
Save