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

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
Lauri Nevala 2020-09-22 09:23:46 +03:00
parent 7f6ae6e8c3
commit 67d3329cba

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
} }