fixed undefined node version
This commit is contained in:
parent
61b5ddd125
commit
98253b9f3f
@ -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…
Reference in New Issue
Block a user