mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 07:49:41 +02:00
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:
parent
af6bea5acc
commit
42aa8ceb00
52 changed files with 99 additions and 115 deletions
|
@ -1,7 +1,6 @@
|
|||
import angular from 'angular';
|
||||
import _ from 'lodash-es';
|
||||
|
||||
class EdgeGroupFormController {
|
||||
export class EdgeGroupFormController {
|
||||
/* @ngInject */
|
||||
constructor(EndpointService, $async, $scope) {
|
||||
this.EndpointService = EndpointService;
|
||||
|
@ -59,6 +58,3 @@ class EdgeGroupFormController {
|
|||
this.endpoints.state.totalCount = totalCount;
|
||||
}
|
||||
}
|
||||
|
||||
angular.module('portainer.edge').controller('EdgeGroupFormController', EdgeGroupFormController);
|
||||
export default EdgeGroupFormController;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue