hasProxy()

fixes #57
pull/66/head
Szekeres Bálint 2019-01-13 10:50:37 +01:00
parent 1cb29f1e35
commit 44bbefb38d
1 changed files with 10 additions and 0 deletions

View File

@ -836,6 +836,16 @@
return getSiteValue(site, 'proxy');
};
$scope.hasProxy = function() {
for (var site in $scope.data.sites) {
if ($scope.isProxy(site)) {
return true;
}
}
return false;
};
// ROUTING