diff --git a/static/js/services/vulnerability-service.js b/static/js/services/vulnerability-service.js index cddefec90..6408345af 100644 --- a/static/js/services/vulnerability-service.js +++ b/static/js/services/vulnerability-service.js @@ -116,7 +116,7 @@ angular.module('quay').factory('VulnerabilityService', ['Config', 'ApiService', 'cvssColor': vulnService.getCVSSColor(cvssScore), 'name': vuln.Name, - 'namespace': vuln.Namespace, + 'namespace': vuln.NamespaceName || vuln.Namespace, 'description': vuln.Description, 'link': vuln.Link, 'severity': vuln.Severity, @@ -216,7 +216,7 @@ angular.module('quay').factory('VulnerabilityService', ['Config', 'ApiService', var feature_obj = { 'name': feature.Name, - 'namespace': feature.Namespace, + 'namespace': feature.NamespaceName || feature.Namespace, 'version': feature.Version, 'addedBy': feature.AddedBy, 'imageId': addedByImageId,