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:
Joseph Schorr 2018-12-12 11:48:33 -05:00
parent 1d57e1eb9f
commit b4ee3578d7
2 changed files with 4 additions and 2 deletions

View file

@ -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');