From: jvoisin Date: Mon, 28 Aug 2023 21:03:16 +0000 (+0200) Subject: Correction d'une typo X-Git-Url: https://nos-oignons.net/gitweb/website.git/commitdiff_plain/6a714d11b69b8f4cb89d981ba48d75b17a0f69f8?ds=sidebyside;hp=f58962ab032acf13685b66923148beb408f6117c Correction d'une typo --- 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'; });