From 4ceb68d568b524df906ab0c2a49d1baf0d95986e Mon Sep 17 00:00:00 2001 From: Jimmy Zelinskie Date: Mon, 6 Apr 2015 16:30:42 -0400 Subject: [PATCH] trigger-setup: set config to activated config --- static/js/directives/ui/setup-trigger-dialog.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/js/directives/ui/setup-trigger-dialog.js b/static/js/directives/ui/setup-trigger-dialog.js index 7f43807cf..a4ecc3c1b 100644 --- a/static/js/directives/ui/setup-trigger-dialog.js +++ b/static/js/directives/ui/setup-trigger-dialog.js @@ -116,6 +116,7 @@ angular.module('quay').directive('setupTriggerDialog', function () { ApiService.activateBuildTrigger(data, params).then(function(resp) { $scope.hide(); $scope.trigger['is_active'] = true; + $scope.trigger['config'] = resp['config']; $scope.trigger['pull_robot'] = resp['pull_robot']; $scope.activated({'trigger': $scope.trigger}); }, errorHandler);