Update security scan col in repo view to use donut chart and better language

This commit is contained in:
Joseph Schorr 2017-03-02 16:21:52 -05:00
parent af743b156b
commit 4b51fa5e5b
9 changed files with 113 additions and 20 deletions

View file

@ -279,6 +279,8 @@ angular.module('quay').factory('VulnerabilityService', ['Config', 'ApiService',
return {
'features': features,
'brokenFeaturesCount': features.length - totalCount,
'fixableFeatureCount': features.filter(function(f) { return f.fixableScore > 0 }).length,
'severityBreakdown': severityBreakdown,
'highestFixableScore': highestFixableScore
}