mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 11:52:37 +09:00
Bug #4129: Fix undefined image name
This commit is contained in:
1 parent
d69f999c62
commit
276bfbdfe6
1 file changed
+1
-1
@@ -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 '';
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user