mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
Fix displayed plans in Top/Worst N tables
A value was transposed in the IPStats to IPStats transit conversion. The UI now displays (max download/max upload) correctly. Fix an accidental inclusion of a console.log statement logging needlessly.
This commit is contained in:
parent
04bc7326ad
commit
fada0a6e92
@ -50,7 +50,7 @@ impl From<&IpStats> for IpStatsWithPlan {
|
||||
&circuit.circuit_name
|
||||
};
|
||||
result.ip_address = format!("{} ({})", name, result.ip_address);
|
||||
result.plan = (circuit.download_max_mbps, circuit.download_min_mbps);
|
||||
result.plan = (circuit.download_max_mbps, circuit.upload_max_mbps);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -171,7 +171,7 @@
|
||||
// Loads the complete ringbuffer for initial display
|
||||
function fillCurrentThroughput() {
|
||||
msgPackGet("/api/throughput_ring_buffer", (tp) => {
|
||||
console.log(tp);
|
||||
//console.log(tp);
|
||||
const bits = 0;
|
||||
const packets = 1;
|
||||
const shaped = 2;
|
||||
|
Loading…
Reference in New Issue
Block a user