Merge pull request #72 from cubedro/develop

Fixed api version if undefined
This commit is contained in:
Marian OANCΞA 2015-04-17 03:21:00 +03:00
commit cf188e454a

View File

@ -252,7 +252,7 @@ angular.module('netStatsApp.filters', [])
} }
if(node.info.client !== '') { if(node.info.client !== '') {
string = "API: <b>" + (typeof node.info.client !== 'undefined' ? node.info.client : '> 0.0.3') + "</b>"; string = "API: <b>" + (typeof node.info.client !== 'undefined' ? node.info.client : '<= 0.0.3') + "</b>";
tooltip.push(string); tooltip.push(string);
} }