mirror of https://github.com/apache/cloudstack.git
metrics: navigate from volumes to storagepool
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
84e2b1e643
commit
108322142e
|
|
@ -894,6 +894,7 @@
|
|||
if (json && json.listvolumesresponse && json.listvolumesresponse.volume) {
|
||||
items = json.listvolumesresponse.volume;
|
||||
$.each(items, function(idx, volume) {
|
||||
items[idx].id = volume.storageid; // replace id with storageid for volume to storagepool navigation
|
||||
items[idx].name = volume.name;
|
||||
items[idx].state = volume.state;
|
||||
items[idx].vmname = volume.vmname;
|
||||
|
|
@ -912,7 +913,7 @@
|
|||
});
|
||||
},
|
||||
browseBy: {
|
||||
filterBy: 'storageid',
|
||||
filterBy: 'id',
|
||||
resource: 'storagepool'
|
||||
},
|
||||
detailView: cloudStack.sections.storage.sections.volumes.listView.detailView
|
||||
|
|
|
|||
Loading…
Reference in New Issue