mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
Network section: add missing view all IP addresses button
This commit is contained in:
parent
61e3fdcab0
commit
127136b94b
@ -210,21 +210,8 @@
|
||||
detailView: {
|
||||
name: 'Guest network details',
|
||||
viewAll: {
|
||||
path: '_zone.guestIpRanges',
|
||||
label: 'IP ranges',
|
||||
preFilter: function(args) {
|
||||
if(args.context.networks[0].type == "Isolated") {
|
||||
var services = args.context.networks[0].service;
|
||||
if(services != null) {
|
||||
for(var i=0; i < services.length; i++) {
|
||||
var service = services[i];
|
||||
if(service.name == "SourceNat")
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
path: 'network.ipAddresses',
|
||||
label: 'IP addresses'
|
||||
},
|
||||
actions: {
|
||||
edit: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user