-
-
Notifications
You must be signed in to change notification settings - Fork 334
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(progress): total value of 0 was unsupported
A total value of 0 was unsupported and wrongly fetched (0 !== undefined !) Although this might be a rarely used situation, it should behave correctly. Means an explicitely given total value of 0 is always fullfilled and should behave as 100% This PR also fixes wrong handling of the limitValues setting and a wrong check in precentage calculation for the total value which might be undefined and resulted in NaN numbers otherwise.
- Loading branch information
Showing
1 changed file
with
20 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters