mirror of
https://github.com/ansible/awx.git
synced 2026-05-12 11:57:37 -02:30
make sure entering already running job case doesn't called elapsed to reset
This commit is contained in:
@@ -668,7 +668,7 @@ function(jobData, jobDataOptions, jobLabels, jobFinished, count, $scope, ParseTy
|
|||||||
if (statusSocket[0].job_status) {
|
if (statusSocket[0].job_status) {
|
||||||
$scope.job_status = statusSocket[0].job_status;
|
$scope.job_status = statusSocket[0].job_status;
|
||||||
}
|
}
|
||||||
if ($scope.job_status === "running") {
|
if ($scope.job_status === "running" && !$scope.job.elapsed) {
|
||||||
runTimeElapsedTimer = workflowResultsService.createOneSecondTimer(moment(), updateJobElapsedTimer);
|
runTimeElapsedTimer = workflowResultsService.createOneSecondTimer(moment(), updateJobElapsedTimer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user