mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-06-16 13:58:13 +00:00
Update add-docker-template.component.ts
This commit is contained in:
@ -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;
|
||||||
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user