More code cleanup and fix bug around can_admin in the trigger_view
This commit is contained in:
parent
c89760278f
commit
0b990677a0
3 changed files with 25 additions and 39 deletions
|
@ -179,11 +179,7 @@ angular.module('quay').directive('triggerSetupGithost', function () {
|
|||
};
|
||||
|
||||
$scope.scmIcon = function(kind) {
|
||||
if (kind == 'gitlab') {
|
||||
return 'fa-git-square';
|
||||
}
|
||||
|
||||
return 'fa-' + kind;
|
||||
return TriggerService.getIcon(kind);
|
||||
};
|
||||
|
||||
var setupTypeahead = function() {
|
||||
|
|
Reference in a new issue