projects
/
website.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ajout Esther au comité sur le site
[website.git]
/
assets
/
bw_graphs.js
diff --git
a/assets/bw_graphs.js
b/assets/bw_graphs.js
index dbeb1cfb155a95cac324fd66a25f171a806cc638..80e8cd0239e7cfbcdeeeb0f4257394832adf6224 100644
(file)
--- a/
assets/bw_graphs.js
+++ b/
assets/bw_graphs.js
@@
-62,8
+62,8
@@
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
BwDrawer.draw_bandwidth_graph = function(raw_data, selector, period) {
// Purge non running relays
- raw_data.relays = raw_data.relays.filter(function(r
elay
) {
- return typeof r.read_history
=== 'undefined' || typeof r.write_history =
== 'undefined';
+ raw_data.relays = raw_data.relays.filter(function(r) {
+ return typeof r.read_history
!== 'undefined' && typeof r.write_history !
== 'undefined';
});
});