fix(frontend): add missing @ngInject (#4217)

pull/4224/head
Chaim Lev-Ari 2020-08-17 03:33:57 +03:00 committed by GitHub
parent b6fc434291
commit 297eea5da6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 0 deletions

View File

@ -1,4 +1,5 @@
export class FileUploaderController {
/* @ngInject */
constructor($async) {
Object.assign(this, { $async });

View File

@ -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 });

View File

@ -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 = {

View File

@ -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;
}

View File

@ -2,6 +2,7 @@ import _ from 'lodash-es';
import angular from 'angular';
class NetworkHelper {
/* @ngInject */
constructor(PREDEFINED_NETWORKS) {
this.PREDEFINED_NETWORKS = PREDEFINED_NETWORKS;
}