Skip to content

Commit

Permalink
@uppy/status-bar: show upload button when files are recovered (#5418)
Browse files Browse the repository at this point in the history
  • Loading branch information
Murderlon authored Aug 20, 2024
1 parent 7c46899 commit eec0d8a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/@uppy/status-bar/src/StatusBarUI.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,7 @@ export default function StatusBarUI<M extends Meta, B extends Body>({
const showUploadBtn =
!error &&
newFiles &&
!isUploadInProgress &&
!isAllPaused &&
((!isUploadInProgress && !isAllPaused) || recoveredState) &&
allowNewUpload &&
!hideUploadButton

Expand Down

0 comments on commit eec0d8a

Please sign in to comment.