fixed api version if undefined

This commit is contained in:
cubedro 2015-04-17 03:20:44 +03:00
parent c6ac726455
commit e60d99096f

View File

@ -252,7 +252,7 @@ angular.module('netStatsApp.filters', [])
}
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);
}