Update add-docker-template.component.ts

This commit is contained in:
piotrpekala7 2020-06-10 10:33:14 +02:00
parent f06ba2bf77
commit da5dcd5fe9

View File

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