mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-11-21 04:56:18 +00:00
Update network-metrics.tsx
This commit is contained in:
@@ -207,12 +207,12 @@ export function NetworkMetrics() {
|
||||
}
|
||||
|
||||
const trafficInFormatted = formatNetworkTraffic(
|
||||
networkUnit === "Bits" ? networkTotals.received * 8 * 1024 ** 3 : networkTotals.received * 1024 ** 3,
|
||||
networkTotals.received * 1024 ** 3,
|
||||
networkUnit,
|
||||
2
|
||||
)
|
||||
const trafficOutFormatted = formatNetworkTraffic(
|
||||
networkUnit === "Bits" ? networkTotals.sent * 8 * 1024 ** 3 : networkTotals.sent * 1024 ** 3,
|
||||
networkTotals.sent * 1024 ** 3,
|
||||
networkUnit,
|
||||
2
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user