Don't make signing call unless trust is explicitly enabled
It is causing a 500 for some reason
This commit is contained in:
parent
8552f7f6e6
commit
a852c5839c
1 changed files with 4 additions and 0 deletions
|
@ -45,6 +45,10 @@ angular.module('quay').directive('repoPanelTags', function () {
|
||||||
$scope.hasDefcon1 = false;
|
$scope.hasDefcon1 = false;
|
||||||
|
|
||||||
var loadRepoSignatures = function() {
|
var loadRepoSignatures = function() {
|
||||||
|
if (!$scope.repository || !$scope.repository.trust_enabled) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$scope.repoSignatureError = false;
|
$scope.repoSignatureError = false;
|
||||||
$scope.repoSignatureInfo = null;
|
$scope.repoSignatureInfo = null;
|
||||||
|
|
||||||
|
|
Reference in a new issue