Skip to content

Commit

Permalink
Merge pull request #1708 from FreeFeed/fix-uploader
Browse files Browse the repository at this point in the history
Fix upload progress bar in file uploader
  • Loading branch information
davidmz authored Jan 25, 2025
2 parents 5f2d4a9 + b59cd7b commit 66dc2f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.137.0] - Not released
### Fixed
- File uploader now properly displays the upload progress.

## [1.136.3] - 2025-01-05
### Changed
Expand Down
2 changes: 1 addition & 1 deletion src/components/uploader/progress.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function ProgressRow({ id, status, file }) {
<div className={style.name}>{allUploads[id]?.name ?? 'File'}</div>
<div
className={style.progress}
style={{ width: `${(style.error ? 1 : status.progress) * 100}%` }}
style={{ width: `${(status.error ? 1 : status.progress) * 100}%` }}
/>
{status.error && (
<>
Expand Down

0 comments on commit 66dc2f3

Please sign in to comment.