Skip to content

Commit

Permalink
fix for totalProgress when files kept in state
Browse files Browse the repository at this point in the history
Mentioned in my FR transloadit#4992

This allows not being uploaded files kept in state to not affect the total progress!
  • Loading branch information
mok419 committed Mar 13, 2024
1 parent 70ca9e6 commit 596c6d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@uppy/core/src/Uppy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1412,7 +1412,7 @@ export class Uppy<M extends Meta, B extends Body> {

const inProgress = files.filter((file) => {
return (
file.progress.uploadStarted ||
!file.progress.uploadComplete ||
file.progress.preprocess ||
file.progress.postprocess
)
Expand Down

0 comments on commit 596c6d5

Please sign in to comment.