fix: graph label
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-03-05 16:37:14 +00:00
parent c6e4a9e3c9
commit 0b93b0d4f9

View File

@ -31,7 +31,7 @@ export function VmGraphsPage() {
const KB = 1024;
const MB = 1024 * 1024;
function scaleLabel(v: number) {
switch (net_scale) {
switch (v) {
case MB:
return "MiB";
case KB: