diff --git a/src/rust/lqosd/src/node_manager/js_build/src/dashlets/top10flows_bytes.js b/src/rust/lqosd/src/node_manager/js_build/src/dashlets/top10flows_bytes.js index e16fa482..aa641940 100644 --- a/src/rust/lqosd/src/node_manager/js_build/src/dashlets/top10flows_bytes.js +++ b/src/rust/lqosd/src/node_manager/js_build/src/dashlets/top10flows_bytes.js @@ -86,7 +86,7 @@ export class Top10FlowsBytes extends BaseDashlet { total.innerText = scaleNumber(r.bytes_sent.down) + " / " + scaleNumber(r.bytes_sent.up); row.appendChild(total); - if (r.rtt_nanos.length > 0) { + if (r.rtt_nanos['down'] !== undefined) { this.rttCache.set(r.remote_ip + r.analysis, r.rtt_nanos); } let rtt = this.rttCache.get(r.remote_ip + r.analysis);