make sure entering already running job case doesn't called elapsed to reset

This commit is contained in:
John Mitchell 2017-02-21 15:03:36 -05:00
parent 69220e94de
commit 191cbeee42

View File

@ -668,7 +668,7 @@ function(jobData, jobDataOptions, jobLabels, jobFinished, count, $scope, ParseTy
if (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);
}