Update security scan col in repo view to use donut chart and better language
This commit is contained in:
parent
af743b156b
commit
4b51fa5e5b
9 changed files with 113 additions and 20 deletions
|
@ -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
|
||||
}
|
||||
|
|
Reference in a new issue