From 1daceaee7f379732bbd4ac391201b9a3648398dc Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Tue, 17 Apr 2018 01:48:16 +0200 Subject: [PATCH] Removed decimals after comma --- scripts/Actions/Upload.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Actions/Upload.ts b/scripts/Actions/Upload.ts index 0535feea..56e3075d 100644 --- a/scripts/Actions/Upload.ts +++ b/scripts/Actions/Upload.ts @@ -68,7 +68,7 @@ function uploadFile(file: File, fileType: string, endpoint: string, arn: AnimeNo } } - arn.statusMessage.showInfo(`Uploading ${fileType}...${fileSize.toFixed(1)} ${unit}`, -1) + arn.statusMessage.showInfo(`Uploading ${fileType}...${fileSize.toFixed(0)} ${unit}`, -1) try { let responseText = await fetchWithProgress(endpoint, {