mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-06-23 08:55:32 +00:00
Set platform with first element in the list
This commit is contained in:
@ -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() {
|
||||
|
Reference in New Issue
Block a user