mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-06-06 09:11:36 +00:00
Modify platform selection on add new Qemu Component
This commit is contained in:
parent
1e0afa2460
commit
a1163f0274
@ -65,7 +65,7 @@ export class AddQemuVmTemplateComponent implements OnInit {
|
|||||||
});
|
});
|
||||||
|
|
||||||
this.memoryForm = this.formBuilder.group({
|
this.memoryForm = this.formBuilder.group({
|
||||||
ramMemory: new FormControl('256', Validators.required),
|
ramMemory: new FormControl('', Validators.required),
|
||||||
});
|
});
|
||||||
|
|
||||||
this.diskForm = this.formBuilder.group({
|
this.diskForm = this.formBuilder.group({
|
||||||
@ -120,7 +120,7 @@ export class AddQemuVmTemplateComponent implements OnInit {
|
|||||||
});
|
});
|
||||||
|
|
||||||
this.selectPlatform = this.configurationService.getPlatform();
|
this.selectPlatform = this.configurationService.getPlatform();
|
||||||
this.selectedPlatform = this.selectPlatform[0];
|
// this.selectedPlatform = this.selectPlatform[0];
|
||||||
|
|
||||||
this.consoleTypes = this.configurationService.getConsoleTypes();
|
this.consoleTypes = this.configurationService.getConsoleTypes();
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user