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