Remove all .admin usage
This commit is contained in:
@@ -66,7 +66,7 @@ angular.module('Application').controller('AppsController', ['$scope', '$timeout'
|
||||
$interval.cancel(refreshAppsTimer);
|
||||
});
|
||||
|
||||
if (!$scope.user.admin) return;
|
||||
if (!$scope.user.isAtLeastAdmin) return;
|
||||
|
||||
Client.getDomains(function (error, result) {
|
||||
if (error) Client.error(error);
|
||||
|
||||
Reference in New Issue
Block a user