Skip to content

Commit

Permalink
Quick fix because I should know better than to write code when I have…
Browse files Browse the repository at this point in the history
… to leave!
  • Loading branch information
thebracket committed Nov 13, 2024
1 parent bddc6c2 commit 1a72add
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1a72add

Please sign in to comment.