From 54122f899885a7342cb97343e765754bae9d20d7 Mon Sep 17 00:00:00 2001 From: infinite-persistence <64950861+infinite-persistence@users.noreply.github.com> Date: Thu, 7 Jul 2022 20:53:57 +0800 Subject: [PATCH] Publish: restore percentage label when uploading (#1809) Closes #1804 Can't recall why it was removed ... probably something not important. --- ui/component/webUploadList/internal/web-upload-item.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/component/webUploadList/internal/web-upload-item.jsx b/ui/component/webUploadList/internal/web-upload-item.jsx index b230e8e77..b9274e980 100644 --- a/ui/component/webUploadList/internal/web-upload-item.jsx +++ b/ui/component/webUploadList/internal/web-upload-item.jsx @@ -98,7 +98,7 @@ export default function WebUploadItem(props: Props) { } } else { const progressInt = parseInt(progress); - return progressInt === 100 ? __('Processing...') : __('Uploading...'); + return progressInt === 100 ? __('Processing...') : `${__('Uploading...')} (${progressInt}%)`; } } else { return __('Uploading...');