diff --git a/frontend/src/Utilities/Number/formatBytes.js b/frontend/src/Utilities/Number/formatBytes.js index 912eabde3..273452031 100644 --- a/frontend/src/Utilities/Number/formatBytes.js +++ b/frontend/src/Utilities/Number/formatBytes.js @@ -7,11 +7,11 @@ function formatBytes(input, showBits = false) { return ''; } - return filesize(size, { + return `${filesize(size, { base: 2, round: 1, bits: showBits - }); + })}`; } export default formatBytes;