Hide build-related UI elements when builds are disabled

Fixes https://jira.coreos.com/browse/QUAY-807
This commit is contained in:
Joseph Schorr 2018-01-31 18:09:38 -05:00
parent bc8e8f60e7
commit 1b707660de
5 changed files with 18 additions and 9 deletions

View file

@ -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) {