mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-23 22:50:09 +03:00
bug #3138: Role VMs fails if the role is in pending
This commit is contained in:
parent
28fc833439
commit
338a09104a
@ -4559,7 +4559,7 @@ function setup_info_flow(context) {
|
||||
var role = $(this).closest(".provision_role_ul").data('role');
|
||||
var vms = []
|
||||
|
||||
if (role.nodes.length > 0) {
|
||||
if (role.nodes && role.nodes.length > 0) {
|
||||
$.each(role.nodes, function(index, node){
|
||||
vms.push(node.vm_info);
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user