From 90ad1043911320631f511e5590f5c1c228734e53 Mon Sep 17 00:00:00 2001 From: kialam Date: Fri, 13 Jul 2018 13:10:43 -0400 Subject: [PATCH] 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. --- .../client/src/workflow-results/workflow-results.controller.js | 1 + 1 file changed, 1 insertion(+) diff --git a/awx/ui/client/src/workflow-results/workflow-results.controller.js b/awx/ui/client/src/workflow-results/workflow-results.controller.js index 23f07c058a..31ad3191f8 100644 --- a/awx/ui/client/src/workflow-results/workflow-results.controller.js +++ b/awx/ui/client/src/workflow-results/workflow-results.controller.js @@ -258,6 +258,7 @@ export default ['workflowData', 'workflowResultsService', 'workflowDataOptions', .getCounts($scope.workflow_nodes); $scope.$broadcast("refreshWorkflowChart"); } + getLabelsAndTooltips(); }); $scope.$on('$destroy', function() {