refactor(edge-compute): enforce es6 good practices (#3961)
* refactor(edge-groups): use es6 imports * refactor(edge-jobs): es6 imports * refactor(edge-stacks): use es6 imports * refactor(edge-compute): use es6 imports in components * refactor(edge-compute): use named imports
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import angular from 'angular';
|
||||
|
||||
class EdgeStackEndpointsDatatableController {
|
||||
export class EdgeStackEndpointsDatatableController {
|
||||
constructor($async, $scope, $controller, DatatableService, PaginationService, Notifications) {
|
||||
this.extendGenericController($controller, $scope);
|
||||
this.DatatableService = DatatableService;
|
||||
@@ -106,6 +106,3 @@ class EdgeStackEndpointsDatatableController {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
angular.module('portainer.edge').controller('EdgeStackEndpointsDatatableController', EdgeStackEndpointsDatatableController);
|
||||
export default EdgeStackEndpointsDatatableController;
|
||||
|
||||
Reference in New Issue
Block a user