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