mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-23 22:50:09 +03:00
Bug #4129: Fix undefined image name
(cherry picked from commit 276bfbdfe6e1b5989d9a69bb36615c5466d2f915)
This commit is contained in:
parent
90395c7e6d
commit
4ef06eab8b
@ -1038,7 +1038,7 @@ define(function(require) {
|
||||
disks = [data.TEMPLATE.DISK]
|
||||
|
||||
if (disks.length > 0) {
|
||||
return disks[0].IMAGE;
|
||||
return disks[0].IMAGE != undefined ? disks[0].IMAGE : '';
|
||||
} else {
|
||||
return '';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user