+
diff --git a/src/app/views/dockerconfig/dockerconfig.component.ts b/src/app/views/dockerconfig/dockerconfig.component.ts
index 7a539b61..82ca22e1 100644
--- a/src/app/views/dockerconfig/dockerconfig.component.ts
+++ b/src/app/views/dockerconfig/dockerconfig.component.ts
@@ -1,10 +1,9 @@
-import {Component, OnDestroy, OnInit, ViewChild} from '@angular/core';
+import {Component, OnDestroy, OnInit} from '@angular/core';
import {CrudService} from '../../services/crud.service';
import {ToasterService} from '../../components/toast-exposer/toaster.service';
import {LeftSidebarService} from '../../components/left-sidebar/left-sidebar.service';
import {BreadcrumbService} from '../../components/breadcrumb/breadcrumb.service';
import {BreadcrumbItem} from '../../components/breadcrumb/breadcrumb-item';
-import {ModalDirective} from 'ngx-bootstrap/modal';
@Component({
selector: 'app-dockerconfig',
@@ -48,16 +47,16 @@ export class DockerconfigComponent implements OnInit, OnDestroy {
updateList() {
this._crud.getDockerInstances().subscribe({
- next: res => {
- this.instances =
res;
+ next: (res: DockerInstance[]) => {
+ this.instances = res;
},
error: err => {
console.log(err);
},
});
this._crud.getAutoDockerStatus().subscribe({
- next: res => {
- this.status = res;
+ next: (res: AutoDockerStatus) => {
+ this.status = res;
},
error: err => {
console.log(err);