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