mirror of https://github.com/portainer/portainer
fix(frontend): add missing @ngInject (#4217)
parent
b6fc434291
commit
297eea5da6
|
@ -1,4 +1,5 @@
|
|||
export class FileUploaderController {
|
||||
/* @ngInject */
|
||||
constructor($async) {
|
||||
Object.assign(this, { $async });
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@ import _ from 'lodash-es';
|
|||
const ROOT_PATH = '/host';
|
||||
|
||||
export class HostBrowserController {
|
||||
/* @ngInject */
|
||||
constructor($async, HostBrowserService, Notifications, FileSaver, ModalService) {
|
||||
Object.assign(this, { $async, HostBrowserService, Notifications, FileSaver, ModalService });
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import _ from 'lodash-es';
|
||||
|
||||
export class VolumeBrowserController {
|
||||
/* @ngInject */
|
||||
constructor($async, HttpRequestHelper, VolumeBrowserService, FileSaver, Blob, ModalService, Notifications) {
|
||||
Object.assign(this, { $async, HttpRequestHelper, VolumeBrowserService, FileSaver, Blob, ModalService, Notifications });
|
||||
this.state = {
|
||||
|
|
|
@ -2,6 +2,7 @@ import _ from 'lodash-es';
|
|||
import angular from 'angular';
|
||||
|
||||
class KubernetesNamespaceHelper {
|
||||
/* @ngInject */
|
||||
constructor(KUBERNETES_SYSTEM_NAMESPACES) {
|
||||
this.KUBERNETES_SYSTEM_NAMESPACES = KUBERNETES_SYSTEM_NAMESPACES;
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@ import _ from 'lodash-es';
|
|||
import angular from 'angular';
|
||||
|
||||
class NetworkHelper {
|
||||
/* @ngInject */
|
||||
constructor(PREDEFINED_NETWORKS) {
|
||||
this.PREDEFINED_NETWORKS = PREDEFINED_NETWORKS;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue