mirror of https://github.com/apache/cloudstack.git
cloudStack 3.0 new UI - instance page - hide security tab when zone is not security group enabled.
This commit is contained in:
parent
7effedaf2d
commit
2f91d74eed
|
|
@ -765,8 +765,12 @@
|
|||
detailView: {
|
||||
name: 'Instance details',
|
||||
viewAll: { path: 'storage.volumes', label: 'Volumes' },
|
||||
|
||||
// Detail view actions
|
||||
tabFilter: function(args) {
|
||||
var hiddenTabs = [];
|
||||
if(g_directAttachSecurityGroupsEnabled != "true")
|
||||
hiddenTabs.push("securityGroups");
|
||||
return hiddenTabs;
|
||||
},
|
||||
actions: {
|
||||
start: {
|
||||
label: 'Start instance' ,
|
||||
|
|
|
|||
Loading…
Reference in New Issue