Skip to content

Commit

Permalink
fixup! Fixes #17521: A repaired in system policies should not be seen…
Browse files Browse the repository at this point in the history
… as a problem for warning display in nodes list

Fixes #17521: A repaired in system policies should not be seen as a problem for warning display in nodes list
  • Loading branch information
VinceMacBuche committed May 26, 2020
1 parent 79676b0 commit ec3e922
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1541,7 +1541,7 @@ function computeComplianceOK (complianceArray) {

function reportsSum (complianceArray) {
if (Array.isArray(complianceArray)) {
return complianceArray.reduce(function(total, value) { return total + reduce} )
return complianceArray.reduce(function(total, value) { return total + value.number }, 0 )
} else {
return 0
}
Expand Down

0 comments on commit ec3e922

Please sign in to comment.