Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show percentage when progress is an object #828

Merged
merged 2 commits into from
Oct 9, 2024

Conversation

difagume
Copy link
Contributor

@difagume difagume commented Oct 9, 2024

I am using bull board with bullMQ, in the job progress I am sending an object e.g.:
{ progress: 70, total: 100, completed: 50 }

when I set the job progress as an object the progress percentage is no longer displayed in bullboard.

2024-10-08-20_40_35

I updated the component to show the progress whether it is a number or an object.

2024-10-08-20_42_08

I think this change will be beneficial to many people who pass an object in the job progress.

@felixmosh
Copy link
Owner

Thank you for reporting this issue.

@difagume difagume requested a review from felixmosh October 9, 2024 13:58
@felixmosh felixmosh merged commit 352ca02 into felixmosh:master Oct 9, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants