Update new-template-dialog.component.ts

This commit is contained in:
piotrpekala7 2020-11-28 03:22:25 +01:00
parent 80e19f5538
commit 383c628f2f

View File

@ -373,10 +373,10 @@ export class NewTemplateDialogComponent implements OnInit {
checkImages(version: Version): boolean {
if (version.images.hdb_disk_image) {
if (this.checkImageFromVersion(version.images.hda_disk_image) && this.checkImageFromVersion(version.images.hdb_disk_image)) return true;
return false;
}
if (this.checkImageFromVersion(version.images.hda_disk_image)) return true;
return false;
}