Hide build-related UI elements when builds are disabled
Fixes https://jira.coreos.com/browse/QUAY-807
This commit is contained in:
parent
bc8e8f60e7
commit
1b707660de
5 changed files with 18 additions and 9 deletions
|
@ -12,7 +12,8 @@ angular.module('quay').directive('repoPanelSettings', function () {
|
|||
'repository': '=repository',
|
||||
'isEnabled': '=isEnabled'
|
||||
},
|
||||
controller: function($scope, $element, ApiService, Config) {
|
||||
controller: function($scope, $element, ApiService, Config, Features) {
|
||||
$scope.Features = Features;
|
||||
$scope.deleteDialogCounter = 0;
|
||||
|
||||
var getTitle = function(repo) {
|
||||
|
|
Reference in a new issue