Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions libs/portal-plugin-dashboard/src/features/upload/Manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,10 +247,10 @@ export class Manager implements IUploadManager {
// For folder bundles, use the size field
const meta = file.meta as BundleMetadata;
if (meta?.isVirtualBundle && meta?.displayAsFolder) {
if (file.size) {
totalBytes += file.size;
const bundleTotal = file.progress.bytesTotal || file.size;
if (bundleTotal) {
totalBytes += bundleTotal;
}
// Use Uppy's built-in progress tracking
if (file.progress.bytesUploaded) {
uploadedBytes += file.progress.bytesUploaded;
}
Expand Down