]> nos-oignons.net Git - website.git/blobdiff - assets/bw_graphs.js
actualite lunar est parti - trad - corr
[website.git] / assets / bw_graphs.js
index c7b44d2f61ab1c278808cb654199cd10282bb2c5..80e8cd0239e7cfbcdeeeb0f4257394832adf6224 100644 (file)
@@ -63,7 +63,7 @@ BwDrawer.color.range(nos_oignons_relays.map(function(r) {return r.color}));
 BwDrawer.draw_bandwidth_graph = function(raw_data, selector, period) {
   // Purge non running relays
   raw_data.relays = raw_data.relays.filter(function(r) {
-    return typeof r.read_history === 'undefined' || typeof r.write_history === 'undefined';
+    return typeof r.read_history !== 'undefined' && typeof r.write_history !== 'undefined';
   });