mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2024-12-24 07:06:38 +00:00
Update add-docker-template.component.ts
This commit is contained in:
parent
f06ba2bf77
commit
da5dcd5fe9
@ -112,7 +112,7 @@ export class AddDockerTemplateComponent implements OnInit {
|
||||
}
|
||||
|
||||
this.dockerTemplate.name = this.containerNameForm.get('templateName').value;
|
||||
this.dockerTemplate.adapters = this.networkAdaptersForm.get('adapters').value;
|
||||
this.dockerTemplate.adapters = +this.networkAdaptersForm.get('adapters').value;
|
||||
this.dockerTemplate.compute_id = this.isGns3VmChosen ? 'vm' : 'local';
|
||||
|
||||
this.dockerService.addTemplate(this.server, this.dockerTemplate).subscribe((template: DockerTemplate) => {
|
||||
|
Loading…
Reference in New Issue
Block a user