From 835a4aeb9cb41b2d45700117cdcc105d52f5b9ee Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Sun, 3 May 2015 17:57:00 -0700 Subject: [PATCH] Fix getDescription for logs view --- static/js/services/trigger-service.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/services/trigger-service.js b/static/js/services/trigger-service.js index 3c5be1ecd..159f5612e 100644 --- a/static/js/services/trigger-service.js +++ b/static/js/services/trigger-service.js @@ -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 = ' Push to ' + title + ' ' + source; return desc;