Add experiment to hide the new Clair UI
This commit is contained in:
parent
09d8e643c0
commit
4c5c46aa8f
7 changed files with 241 additions and 3 deletions
|
@ -10,13 +10,15 @@
|
|||
})
|
||||
}]);
|
||||
|
||||
function ImageViewCtrl($scope, $routeParams, $rootScope, $timeout, ApiService, ImageMetadataService, Features) {
|
||||
function ImageViewCtrl($scope, $routeParams, $rootScope, $timeout, ApiService, ImageMetadataService, Features, CookieService) {
|
||||
var namespace = $routeParams.namespace;
|
||||
var name = $routeParams.name;
|
||||
var imageid = $routeParams.image;
|
||||
|
||||
$scope.imageSecurityCounter = 0;
|
||||
$scope.imagePackageCounter = 0;
|
||||
$scope.newUIExperiment = CookieService.get('quay.exp-new-sec-layout') == 'true';
|
||||
|
||||
$scope.options = {
|
||||
'vulnFilter': ''
|
||||
};
|
||||
|
|
Reference in a new issue