Fix the image track offsets in the repo tags UI
We were missing the `Features` injected into the scope, so the calculation was already returning false
This commit is contained in:
parent
1d57e1eb9f
commit
b4ee3578d7
2 changed files with 4 additions and 2 deletions
|
@ -20,7 +20,9 @@ angular.module('quay').directive('repoPanelTags', function () {
|
|||
|
||||
'getImages': '&getImages'
|
||||
},
|
||||
controller: function($scope, $element, $filter, $location, ApiService, UIService, VulnerabilityService, TableService) {
|
||||
controller: function($scope, $element, $filter, $location, ApiService, UIService, VulnerabilityService, TableService, Features) {
|
||||
$scope.Features = Features;
|
||||
|
||||
$scope.maxTrackCount = 5;
|
||||
|
||||
$scope.checkedTags = UIService.createCheckStateController([], 'name');
|
||||
|
|
Reference in a new issue