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

View File

@@ -410,7 +410,7 @@
id="page"
name="page"
ng-model="options.page"
ng-disabled="!details.has_pages"
ng-disabled="!details.hasPage"
/>
<label class="form-check-label" for="page"
>Github page</label

View File

@@ -1228,7 +1228,7 @@ angular
function checkSourceType() {
if ($scope.source.type == "GitHubStream") {
$scope.options.page = false;
$scope.anonymize.page.$$element[0].disabled = true;
//$scope.anonymize.page.$$element[0].disabled = true;
} else {
if ($scope.details && $scope.details.hasPage) {
$scope.anonymize.page.$$element[0].disabled = false;