Show IG name on job results if it comes from the socket

for "waiting" messages
This commit is contained in:
Jared Tabor 2017-08-14 16:44:12 -07:00
parent 738fff65a1
commit 89ed4ebb29

View File

@ -694,6 +694,12 @@ function(jobData, jobDataOptions, jobLabels, jobFinished, count, $scope, ParseTy
parseInt($scope.job.id,10)) {
// controller is defined, so set the job_status
$scope.job_status = data.status;
if(_.has(data, 'instance_group_name')){
$scope.job.instance_group = true;
$scope.job.summary_fields.instance_group = {
"name": data.instance_group_name
};
}
if (data.status === "running") {
if (!runTimeElapsedTimer) {
runTimeElapsedTimer = workflowResultsService.createOneSecondTimer(moment(), updateJobElapsedTimer);