-Add new setting "Delete shift"
-Move "Shift" frontend to V1 module
This commit is contained in:
miroman-afk
2022-02-01 01:55:15 +03:00
parent 57949aa89a
commit 5497b611ef
29 changed files with 1359 additions and 3 deletions

View File

@@ -0,0 +1,19 @@
(function() {
'use strict';
angular
.module('app')
.controller('UserLogCtrl', UserLogCtrl);
UserLogCtrl.$inject = ['$scope', 'smartRequest', '$rootScope'];
function UserLogCtrl($scope, smartRequest, $rootScope) {
$scope.logs = [];
$scope.getLogs = function() {
smartRequest.get('log/user/list', function(data) {
$scope.logs = data.logs;
});
};
$scope.getLogs();
}
})();