mirror of
https://github.com/imputnet/cobalt.git
synced 2025-12-13 19:55:20 +00:00
web/ProcessingQueueItem: floor the progress
This commit is contained in:
@@ -69,7 +69,7 @@
|
||||
const formattedSize = formatFileSize(progress?.size);
|
||||
|
||||
if (progress && progress.percentage) {
|
||||
return `${running}: ${Math.ceil(progress.percentage)}%, ${formattedSize}`;
|
||||
return `${running}: ${Math.floor(progress.percentage)}%, ${formattedSize}`;
|
||||
}
|
||||
else if (runningWorker && progress) {
|
||||
if (progress.size > 0) {
|
||||
|
||||
Reference in New Issue
Block a user