This commit is contained in:
Oliver Walters committed 2020-10-29 09:45:42 +11:00
1 parent a263d2fdcd
commit 05ce17f8df
3 files changed
+11 -4

No files matched your search

+2 -2
View File
@@ -568,8 +568,8 @@ function loadBuildOutputAllocationTable(buildInfo, output, options={}) {
var progressA = parseFloat(aA) / qA;
var progressB = parseFloat(aB) / qB;
// Handle the case where both are at 100%
if (progressA == 1.0 && progressB == 1.0) {
// Handle the case where both ratios are equal
if (progressA == progressB) {
return (qA < qB) ? 1 : -1;
}