Fix handling of Defcon 1

Fixes #1397
This commit is contained in:
Joseph Schorr 2016-04-22 13:21:35 -04:00
parent 460ccf2dfd
commit 34a8090328
5 changed files with 5 additions and 5 deletions

View file

@ -168,7 +168,7 @@ angular.module('quay').directive('repoPanelTags', function () {
VulnerabilityService.forEachVulnerability(resp, function(vuln) {
if (VulnerabilityService.LEVELS[vuln.Severity].index == 0) {
$scope.defcon1[vuln.ID] = v;
$scope.defcon1[vuln.Name] = vuln;
$scope.hasDefcon1 = true;
}