mirror of https://github.com/apache/cloudstack.git
CS-15126
-Hide 'type' field, as dvSwitch doesn't return a type -Get zone name from the cluster's data reviewed-by: jessica
This commit is contained in:
parent
29356b022c
commit
331b89b7e1
|
|
@ -6495,7 +6495,6 @@
|
|||
id: 'vSwitches',
|
||||
fields: {
|
||||
vsmdeviceid: { label: 'label.name' },
|
||||
type: { label: 'label.type' },
|
||||
zonename: { label: 'label.zone' },
|
||||
vsmdevicestate: { label: 'label.status' }
|
||||
},
|
||||
|
|
@ -6644,7 +6643,9 @@
|
|||
var item = json.listcisconexusvsmscmdresponse.cisconexusvsm;
|
||||
args.response.success({
|
||||
actionFilter: nexusActionfilter,
|
||||
data: item
|
||||
data: $.extend(item, {
|
||||
zonename: args.context.clusters[0].zonename
|
||||
})
|
||||
});
|
||||
},
|
||||
error: function(json) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue