mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-07-05 21:27:59 +02:00
improve automatic status refresh
This commit is contained in:
@@ -778,8 +778,8 @@ angular
|
|||||||
} else if ($scope.repo.status == "anonymizing") {
|
} else if ($scope.repo.status == "anonymizing") {
|
||||||
$scope.progress = 75;
|
$scope.progress = 75;
|
||||||
}
|
}
|
||||||
if ($scope.repo.status != "ready") {
|
if ($scope.repo.status != "ready" && $scope.repo.status != "error") {
|
||||||
setTimeout($scope.getStatus, 1000);
|
setTimeout($scope.getStatus, 2000);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
(err) => {
|
(err) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user