From 5b5c8eec0a70b78171464eea7a2ad2c068f35be5 Mon Sep 17 00:00:00 2001 From: Benoit Lavenier <benoit.lavenier@e-is.pro> Date: Tue, 8 Aug 2023 10:33:13 +0200 Subject: [PATCH] fix(compile): Fic compilation error --- www/plugins/es/js/controllers/admin-controllers.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/www/plugins/es/js/controllers/admin-controllers.js b/www/plugins/es/js/controllers/admin-controllers.js index d22a0ac6b..4906a65b8 100644 --- a/www/plugins/es/js/controllers/admin-controllers.js +++ b/www/plugins/es/js/controllers/admin-controllers.js @@ -31,7 +31,7 @@ angular.module('cesium.es.admin.controllers', ['cesium.es.services']) data: { silentLocationChange: true } - });; + }); }) .controller('ESAdminViewAbstractCtrl', ESAdminViewAbstractController) @@ -115,7 +115,7 @@ function ESAdminViewAbstractController($scope, $q, $window, $state, UIUtils, es $scope.load = function(from, size, silent) { // Can be override return $q.resolve(); - } + }; $scope.toggleSort = function(sort){ if ($scope.search.sort === sort && !$scope.search.asc) { @@ -140,7 +140,7 @@ function ESAdminViewAbstractController($scope, $q, $window, $state, UIUtils, es $scope.search.loadingMore = false; $scope.$broadcast('scroll.infiniteScrollComplete'); }); - } + }; } function ESAdminViewLogController($controller, $scope, $q, $window, $state, UIUtils) { @@ -219,7 +219,7 @@ function ESAdminViewModeratorController($controller, $scope, $q, $window, $state return $scope.node.node.moderators() .then(function (res) { - const items = _.map(res && res.moderators || [], function(pubkey) { + var items = _.map(res && res.moderators || [], function(pubkey) { return {pubkey: pubkey}; }); return csWot.extendAll(items); -- GitLab