Skip to content

Commit 654accc

Browse files
committed
CS-15126
-Hide 'type' field, as dvSwitch doesn't return a type -Get zone name from the cluster's data reviewed-by: jessica
1 parent 90b8758 commit 654accc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ui/scripts/system.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -6493,7 +6493,6 @@
64936493
id: 'vSwitches',
64946494
fields: {
64956495
vsmdeviceid: { label: 'label.name' },
6496-
type: { label: 'label.type' },
64976496
zonename: { label: 'label.zone' },
64986497
vsmdevicestate: { label: 'label.state' }
64996498
},
@@ -6638,7 +6637,9 @@
66386637
var item = json.listcisconexusvsmscmdresponse.cisconexusvsm;
66396638
args.response.success({
66406639
actionFilter: nexusActionfilter,
6641-
data: item
6640+
data: $.extend(item, {
6641+
zonename: args.context.clusters[0].zonename
6642+
})
66426643
});
66436644
},
66446645
error: function(json) {

0 commit comments

Comments
 (0)