web/ProcessingQueueItem: floor the progress
This commit is contained in:
@@ -69,7 +69,7 @@
|
|||||||
const formattedSize = formatFileSize(progress?.size);
|
const formattedSize = formatFileSize(progress?.size);
|
||||||
|
|
||||||
if (progress && progress.percentage) {
|
if (progress && progress.percentage) {
|
||||||
return `${running}: ${Math.ceil(progress.percentage)}%, ${formattedSize}`;
|
return `${running}: ${Math.floor(progress.percentage)}%, ${formattedSize}`;
|
||||||
}
|
}
|
||||||
else if (runningWorker && progress) {
|
else if (runningWorker && progress) {
|
||||||
if (progress.size > 0) {
|
if (progress.size > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user