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