This fixes an issue with the upload ETA sometimes being `NaN`. These properties would be undefined when some files did not yet emit progress events, blowing up the ETA calculation.
@@ -169,6 +169,8 @@ class Uppy {
data: file.data,
progress: {
percentage: 0,
+ bytesUploaded: 0,
+ bytesTotal: file.data.size || 0,
uploadComplete: false,
uploadStarted: false
},