fixed api version if undefined

pull/5/head
cubedro 10 years ago
parent c6ac726455
commit e60d99096f
  1. 2
      public/js/filters.js

@ -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);
}

Loading…
Cancel
Save