1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-29 18:50:08 +03:00

added json checks in cloud view (#2281)

This commit is contained in:
Abel Coronado 2018-07-12 16:18:00 +02:00 committed by Tino Vázquez
parent 13eb030edb
commit f4b30f26c9

View File

@ -79,7 +79,7 @@ define(function(require){
disks = [template_disk];
}
if (opts.template_base_json) {
if (opts.template_base_json && opts.template_base_json.VMTEMPLATE) {
var template_base_disk = opts.template_base_json.VMTEMPLATE.TEMPLATE.DISK;
var disks_base = [];
if ($.isArray(template_base_disk)) {