trigger-setup: set config to activated config
This commit is contained in:
parent
6465e7492a
commit
4ceb68d568
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Reference in a new issue