From fd5940f5fcae2e7018f0c0d5ffa4fef4652822ce Mon Sep 17 00:00:00 2001 From: djmaze Date: Thu, 25 Mar 2021 16:51:54 +0100 Subject: [PATCH] Bugfix: missing space between number and 'Bytes' --- dev/Common/File.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/Common/File.js b/dev/Common/File.js index 70622c862..63a9a8d31 100644 --- a/dev/Common/File.js +++ b/dev/Common/File.js @@ -297,7 +297,7 @@ export const FileInfo = { friendlySize: bytes => { bytes = parseInt(bytes, 10) || 0; let i = Math.floor(Math.log(bytes) / Math.log(1024)); - return (bytes / Math.pow(1024, i)).toFixed(2>i ? 0 : 1) + sizes[i]; + return (bytes / Math.pow(1024, i)).toFixed(2>i ? 0 : 1) + ' ' + sizes[i]; } };