mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-02-13 19:02:45 +00:00
fix: fix GitHub page settings
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user