Don't make signing call unless trust is explicitly enabled

It is causing a 500 for some reason
This commit is contained in:
Joseph Schorr 2017-05-01 11:42:18 -04:00
parent 8552f7f6e6
commit a852c5839c

View file

@ -45,6 +45,10 @@ angular.module('quay').directive('repoPanelTags', function () {
$scope.hasDefcon1 = false;
var loadRepoSignatures = function() {
if (!$scope.repository || !$scope.repository.trust_enabled) {
return;
}
$scope.repoSignatureError = false;
$scope.repoSignatureInfo = null;