mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2026-10-05 13:16:57 -05: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:
1 parent
d253e1f518
commit
2574e40790
2 files changed
+2
-2
No files matched your search
@@ -49,7 +49,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;
|
||||
|
||||
Reference in new issue
Block a user