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:
kialam 2018-07-13 13:10:43 -04:00
parent 8e253a9aff
commit 90ad104391

View File

@ -258,6 +258,7 @@ export default ['workflowData', 'workflowResultsService', 'workflowDataOptions',
.getCounts($scope.workflow_nodes);
$scope.$broadcast("refreshWorkflowChart");
}
getLabelsAndTooltips();
});
$scope.$on('$destroy', function() {