1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Convert bytes in memory BarChart properly (#947)

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
Lauri Nevala 2020-09-24 14:54:09 +03:00 committed by GitHub
parent fe4a63a955
commit 386e7c63bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -165,7 +165,7 @@ export const memoryOptions: ChartOptions = {
} }
return bytesToUnits(parseInt(value)); return bytesToUnits(parseInt(value));
} }
return `${value}`; return bytesToUnits(value);
}, },
stepSize: 1 stepSize: 1
} }