projects
/
website.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a714d1
)
Inversion d'un test dans bw_graphs.js
author
jvoisin
<julien.voisin@dustri.org>
Mon, 28 Aug 2023 21:04:48 +0000
(23:04 +0200)
committer
jvoisin
<julien.voisin@dustri.org>
Mon, 28 Aug 2023 21:04:48 +0000
(23:04 +0200)
assets/bw_graphs.js
patch
|
blob
|
history
diff --git
a/assets/bw_graphs.js
b/assets/bw_graphs.js
index c7b44d2f61ab1c278808cb654199cd10282bb2c5..80e8cd0239e7cfbcdeeeb0f4257394832adf6224 100644
(file)
--- a/
assets/bw_graphs.js
+++ b/
assets/bw_graphs.js
@@
-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';
});