mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-02-12 18:32:44 +00:00
fix: progress bar in status page
This commit is contained in:
@@ -693,7 +693,7 @@ angular
|
||||
$scope.progress = 10;
|
||||
} else if ($scope.repo.status == "downloaded") {
|
||||
$scope.progress = 50;
|
||||
} else if ($scope.repo.status == "downloading") {
|
||||
} else if ($scope.repo.status == "download") {
|
||||
$scope.progress = 25;
|
||||
} else if ($scope.repo.status == "preparing") {
|
||||
$scope.progress = 25;
|
||||
|
||||
@@ -65,7 +65,6 @@ router.get(
|
||||
let download = false;
|
||||
const conference = await repo.conference();
|
||||
if (conference) {
|
||||
console.log(conference.quota)
|
||||
download =
|
||||
conference.quota.size > -1 &&
|
||||
!!config.ENABLE_DOWNLOAD &&
|
||||
|
||||
Reference in New Issue
Block a user