mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
Dashboard needs bytes per second, not total.
This commit is contained in:
parent
317f3f3dfb
commit
7f8b294199
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ export function BandwidthProgressGroup({bandwidth, ...props}) {
|
|||
|
||||
export function BandwidthProgressCombined({bandwidth, ...props}) {
|
||||
const maxBytes = bandwidth['speed'] ? bandwidth['speed'] * 1000 * 1000 / 8 : 125_000_000;
|
||||
const combined = bandwidth['bytes_recv'] + bandwidth['bytes_sent']
|
||||
const combined = bandwidth['bytes_recv_ps'] + bandwidth['bytes_sent_ps'];
|
||||
return <BandwidthProgress label={bandwidth['name']} bytes={combined} maxBytes={maxBytes} {...props}/>
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue