mirror of
https://github.com/ansible/awx.git
synced 2026-03-04 02:01:01 -03:30
Fixed race condition where selecte2-ifying the edge type was happening before the digest cycle finished
This commit is contained in:
@@ -6,10 +6,10 @@
|
||||
|
||||
export default ['$scope', 'WorkflowService', 'GetBasePath', 'TemplatesService',
|
||||
'$state', 'ProcessErrors', 'CreateSelect2', '$q', 'JobTemplateModel',
|
||||
'Empty', 'PromptService', 'Rest', 'TemplatesStrings',
|
||||
'Empty', 'PromptService', 'Rest', 'TemplatesStrings', '$timeout',
|
||||
function($scope, WorkflowService, GetBasePath, TemplatesService,
|
||||
$state, ProcessErrors, CreateSelect2, $q, JobTemplate,
|
||||
Empty, PromptService, Rest, TemplatesStrings) {
|
||||
Empty, PromptService, Rest, TemplatesStrings, $timeout) {
|
||||
|
||||
let promptWatcher, surveyQuestionWatcher;
|
||||
|
||||
@@ -808,7 +808,7 @@ export default ['$scope', 'WorkflowService', 'GetBasePath', 'TemplatesService',
|
||||
break;
|
||||
}
|
||||
|
||||
updateEdgeDropdownOptions(edgeDropdownOptions);
|
||||
$timeout(updateEdgeDropdownOptions(edgeDropdownOptions));
|
||||
|
||||
$scope.$broadcast("refreshWorkflowChart");
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user