diff --git a/src/app/components/preferences/docker/add-docker-template/add-docker-template.component.ts b/src/app/components/preferences/docker/add-docker-template/add-docker-template.component.ts index f593c615..93bd32c9 100644 --- a/src/app/components/preferences/docker/add-docker-template/add-docker-template.component.ts +++ b/src/app/components/preferences/docker/add-docker-template/add-docker-template.component.ts @@ -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) => {