mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-01-29 23:54:11 +00:00
Set platform with first element in the list
This commit is contained in:
parent
0bb4db78a4
commit
206d25d032
@ -106,14 +106,12 @@ export class AddQemuVmTemplateComponent implements OnInit {
|
||||
this.qemuTemplate = qemuTemplate;
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
this.qemuService.getImages(this.controller).subscribe((qemuImages: QemuImage[]) => {
|
||||
this.qemuImages = qemuImages;
|
||||
});
|
||||
|
||||
this.selectPlatform = this.configurationService.getPlatform();
|
||||
this.selectedPlatform = this.selectPlatform[0];
|
||||
this.consoleTypes = this.configurationService.getConsoleTypes();
|
||||
});
|
||||
|
||||
|
@ -68,7 +68,6 @@ export class QemuVmTemplateDetailsComponent implements OnInit {
|
||||
});
|
||||
|
||||
this.selectPlatform = this.configurationService.getPlatform();
|
||||
this.selectedPlatform = this.selectPlatform[0];
|
||||
}
|
||||
|
||||
getConfiguration() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user