From 6a714d11b69b8f4cb89d981ba48d75b17a0f69f8 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Mon, 28 Aug 2023 23:03:16 +0200 Subject: [PATCH 1/1] Correction d'une typo --- assets/bw_graphs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/bw_graphs.js b/assets/bw_graphs.js index dbeb1cf..c7b44d2 100644 --- a/assets/bw_graphs.js +++ b/assets/bw_graphs.js @@ -62,7 +62,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(relay) { + raw_data.relays = raw_data.relays.filter(function(r) { return typeof r.read_history === 'undefined' || typeof r.write_history === 'undefined'; }); -- 2.39.5