mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-27 10:50:10 +03:00
Bug #4346: Do not render topology VRs that cannot be USED
This commit is contained in:
parent
bd67cac11a
commit
9264a56412
@ -235,6 +235,10 @@ define(function(require) {
|
||||
}
|
||||
|
||||
$.each(vrs, function(j,vr){
|
||||
if(_indexedVRs[vr] == undefined){
|
||||
return true; //continue
|
||||
}
|
||||
|
||||
var nodeId = "vr"+vr;
|
||||
|
||||
if (!nodeIndex[nodeId]){
|
||||
@ -508,6 +512,10 @@ define(function(require) {
|
||||
var vr = _indexedVRs[vrid];
|
||||
var vms = [];
|
||||
|
||||
if (vr == undefined){
|
||||
return "";
|
||||
}
|
||||
|
||||
if (vr.VMS.ID != undefined){
|
||||
vms = vr.VMS.ID;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user