Publish: restore percentage label when uploading (#1809)
Closes #1804 Can't recall why it was removed ... probably something not important.
This commit is contained in:
parent
cdcf7e7772
commit
54122f8998
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ export default function WebUploadItem(props: Props) {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
const progressInt = parseInt(progress);
|
const progressInt = parseInt(progress);
|
||||||
return progressInt === 100 ? __('Processing...') : __('Uploading...');
|
return progressInt === 100 ? __('Processing...') : `${__('Uploading...')} (${progressInt}%)`;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
return __('Uploading...');
|
return __('Uploading...');
|
||||||
|
|
Loading…
Reference in a new issue