Fix getDescription for logs view
This commit is contained in:
parent
2a321ed920
commit
835a4aeb9c
1 changed files with 2 additions and 2 deletions
|
@ -241,8 +241,8 @@ angular.module('quay').factory('TriggerService', ['UtilService', '$sanitize', 'K
|
|||
};
|
||||
|
||||
triggerService.getDescription = function(name, config) {
|
||||
var icon = triggerService.getIcon(config['service']);
|
||||
var title = triggerService.getTitle(config['service']);
|
||||
var icon = triggerService.getIcon(name);
|
||||
var title = triggerService.getTitle(name);
|
||||
var source = UtilService.textToSafeHtml(config['build_source']);
|
||||
var desc = '<i class"fa ' + icon + ' fa-lg" style="margin-left:2px; margin-right: 2px"></i> Push to ' + title + ' ' + source;
|
||||
return desc;
|
||||
|
|
Reference in a new issue