fix: fix GitHub page settings

This commit is contained in:
tdurieux
2022-08-10 08:35:57 +02:00
parent efcde0f822
commit 5c3d358a25
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -410,7 +410,7 @@
id="page" id="page"
name="page" name="page"
ng-model="options.page" ng-model="options.page"
ng-disabled="!details.has_pages" ng-disabled="!details.hasPage"
/> />
<label class="form-check-label" for="page" <label class="form-check-label" for="page"
>Github page</label >Github page</label
+1 -1
View File
@@ -1228,7 +1228,7 @@ angular
function checkSourceType() { function checkSourceType() {
if ($scope.source.type == "GitHubStream") { if ($scope.source.type == "GitHubStream") {
$scope.options.page = false; $scope.options.page = false;
$scope.anonymize.page.$$element[0].disabled = true; //$scope.anonymize.page.$$element[0].disabled = true;
} else { } else {
if ($scope.details && $scope.details.hasPage) { if ($scope.details && $scope.details.hasPage) {
$scope.anonymize.page.$$element[0].disabled = false; $scope.anonymize.page.$$element[0].disabled = false;