From 1a72addfeecde9ece8ae108ee760feafeaea20ea Mon Sep 17 00:00:00 2001 From: Herbert Wolverson Date: Wed, 13 Nov 2024 16:34:17 -0600 Subject: [PATCH] Quick fix because I should know better than to write code when I have to leave! --- .../src/node_manager/js_build/src/dashlets/top10_downloaders.js | 2 +- .../node_manager/js_build/src/dashlets/worst10_downloaders.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rust/lqosd/src/node_manager/js_build/src/dashlets/top10_downloaders.js b/src/rust/lqosd/src/node_manager/js_build/src/dashlets/top10_downloaders.js index ce4efa95..64880f81 100644 --- a/src/rust/lqosd/src/node_manager/js_build/src/dashlets/top10_downloaders.js +++ b/src/rust/lqosd/src/node_manager/js_build/src/dashlets/top10_downloaders.js @@ -46,7 +46,7 @@ export class Top10Downloaders extends BaseDashlet { }); this.buffer.tick(); - let results = this.buffer.toArray(); + let results = { data: this.buffer.toArray() }; //results.sort((a, b) => a.bits_per_second.down - b.bits_per_second.down); let t = TopNTableFromMsgData(results); diff --git a/src/rust/lqosd/src/node_manager/js_build/src/dashlets/worst10_downloaders.js b/src/rust/lqosd/src/node_manager/js_build/src/dashlets/worst10_downloaders.js index 19035405..e5e80440 100644 --- a/src/rust/lqosd/src/node_manager/js_build/src/dashlets/worst10_downloaders.js +++ b/src/rust/lqosd/src/node_manager/js_build/src/dashlets/worst10_downloaders.js @@ -46,7 +46,7 @@ export class Worst10Downloaders extends BaseDashlet { }); this.buffer.tick(); - let results = this.buffer.toArray(); + let results = { data: this.buffer.toArray() }; //results.sort((a, b) => b.median_tcp_rtt - a.median_tcp_rtt); let t = TopNTableFromMsgData(msg);