Update add-docker-template.component.ts

This commit is contained in:
piotrpekala7
2020-05-14 23:04:47 +02:00
parent d127986b03
commit 9a2744bc64

View File

@ -75,6 +75,10 @@ export class AddDockerTemplateComponent implements OnInit {
this.computeService.getComputes(server).subscribe((computes: Compute[]) => { this.computeService.getComputes(server).subscribe((computes: Compute[]) => {
if (computes.filter(compute => compute.compute_id === 'vm').length > 0) this.isGns3VmAvailable = true; if (computes.filter(compute => compute.compute_id === 'vm').length > 0) this.isGns3VmAvailable = true;
}); });
this.dockerService.getImages(server).subscribe((images) => {
this.dockerImages = images;
});
}); });
} }