Skip to content
Snippets Groups Projects
Commit 5b5c8eec authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

fix(compile): Fic compilation error

parent 52ede984
No related branches found
No related tags found
No related merge requests found
...@@ -31,7 +31,7 @@ angular.module('cesium.es.admin.controllers', ['cesium.es.services']) ...@@ -31,7 +31,7 @@ angular.module('cesium.es.admin.controllers', ['cesium.es.services'])
data: { data: {
silentLocationChange: true silentLocationChange: true
} }
});; });
}) })
.controller('ESAdminViewAbstractCtrl', ESAdminViewAbstractController) .controller('ESAdminViewAbstractCtrl', ESAdminViewAbstractController)
...@@ -115,7 +115,7 @@ function ESAdminViewAbstractController($scope, $q, $window, $state, UIUtils, es ...@@ -115,7 +115,7 @@ function ESAdminViewAbstractController($scope, $q, $window, $state, UIUtils, es
$scope.load = function(from, size, silent) { $scope.load = function(from, size, silent) {
// Can be override // Can be override
return $q.resolve(); return $q.resolve();
} };
$scope.toggleSort = function(sort){ $scope.toggleSort = function(sort){
if ($scope.search.sort === sort && !$scope.search.asc) { if ($scope.search.sort === sort && !$scope.search.asc) {
...@@ -140,7 +140,7 @@ function ESAdminViewAbstractController($scope, $q, $window, $state, UIUtils, es ...@@ -140,7 +140,7 @@ function ESAdminViewAbstractController($scope, $q, $window, $state, UIUtils, es
$scope.search.loadingMore = false; $scope.search.loadingMore = false;
$scope.$broadcast('scroll.infiniteScrollComplete'); $scope.$broadcast('scroll.infiniteScrollComplete');
}); });
} };
} }
function ESAdminViewLogController($controller, $scope, $q, $window, $state, UIUtils) { function ESAdminViewLogController($controller, $scope, $q, $window, $state, UIUtils) {
...@@ -219,7 +219,7 @@ function ESAdminViewModeratorController($controller, $scope, $q, $window, $state ...@@ -219,7 +219,7 @@ function ESAdminViewModeratorController($controller, $scope, $q, $window, $state
return $scope.node.node.moderators() return $scope.node.node.moderators()
.then(function (res) { .then(function (res) {
const items = _.map(res && res.moderators || [], function(pubkey) { var items = _.map(res && res.moderators || [], function(pubkey) {
return {pubkey: pubkey}; return {pubkey: pubkey};
}); });
return csWot.extendAll(items); return csWot.extendAll(items);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment