diff --git a/packages/frontend/src/components/List/Row.tsx b/packages/frontend/src/components/List/Row.tsx index 0346b1e..207bf60 100644 --- a/packages/frontend/src/components/List/Row.tsx +++ b/packages/frontend/src/components/List/Row.tsx @@ -82,10 +82,12 @@ function formatMemory(kbs: number, stamp: Maybe): string { function formatBandwidth(bps: number, stamp: Maybe): string { const ago = stamp ? ` (${formatStamp(stamp)})` : ''; - if (bps >= 1000) { + if (bps >= 1024 * 1024) { + return `${(bps / (1024 * 1024)).toFixed(1)} MB/s${ago}`; + } else if (bps >= 1000) { return `${(bps / 1024).toFixed(1)} kB/s${ago}`; } else { - return `${bps} B/s${ago}`; + return `${bps | 0} B/s${ago}`; } }