mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 23:17:32 -02:30
Update labels and tooltips whenever the websocket emits status change
Since the translated workflow status copy is a result of a function; it does not auto-update when `workflow.status` is updated. We should call it whenever the web socket lets us know that a job status has changed.
This commit is contained in:
@@ -258,6 +258,7 @@ export default ['workflowData', 'workflowResultsService', 'workflowDataOptions',
|
||||
.getCounts($scope.workflow_nodes);
|
||||
$scope.$broadcast("refreshWorkflowChart");
|
||||
}
|
||||
getLabelsAndTooltips();
|
||||
});
|
||||
|
||||
$scope.$on('$destroy', function() {
|
||||
|
||||
Reference in New Issue
Block a user