Change security scanner column to be more informative

This commit is contained in:
Joseph Schorr 2017-03-15 17:14:59 -04:00
parent 9297373bd6
commit 685bdf6814
6 changed files with 29 additions and 20 deletions

View file

@ -13,10 +13,10 @@ angular.module('quay').directive('imageVulnerabilityView', function () {
'image': '=image',
'isEnabled': '=isEnabled'
},
controller: function($scope, $element, Config, ApiService, VulnerabilityService, ViewArray, ImageMetadataService, TableService) {
controller: function($scope, $element, $routeParams, Config, ApiService, VulnerabilityService, ViewArray, ImageMetadataService, TableService) {
$scope.options = {
'filter': null,
'fixableVulns': false,
'fixableVulns': $routeParams['fixable'] == 'true',
'predicate': 'score',
'reverse': false,
};