mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-01-02 19:16:44 +00:00
I resolved "#1287 Cannot add Qemu template manually"
This commit is contained in:
parent
8adad9c13f
commit
97d1bc7596
@ -131,10 +131,6 @@ export class NewTemplateDialogComponent implements OnInit {
|
||||
this.dataSource.paginator = this.paginator;
|
||||
});
|
||||
|
||||
this.qemuService.getBinaries(this.server).subscribe((binaries) => {
|
||||
this.qemuBinaries = binaries;
|
||||
});
|
||||
|
||||
this.uploader = new FileUploader({});
|
||||
this.uploader.onAfterAddingFile = (file) => {
|
||||
file.withCredentials = false;
|
||||
@ -182,6 +178,9 @@ export class NewTemplateDialogComponent implements OnInit {
|
||||
this.uploaderImage.clearQueue();
|
||||
};
|
||||
}
|
||||
this.qemuService.getBinaries(this.server).subscribe((binaries) => {
|
||||
this.qemuBinaries = binaries;
|
||||
});
|
||||
}
|
||||
|
||||
updateAppliances() {
|
||||
|
Loading…
Reference in New Issue
Block a user