mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-5557: UI > Network > Guest Network > IP Address > fix a bug that SourceNAT IP, VPC tier IP wrongly showed Configuration tab(firewall/portforwarding/loadbalancing).
SourceNAT IP, VPC tier IP should not show Configuration tab(firewall/portforwarding/loadbalancing).
This commit is contained in:
parent
598628f517
commit
b090acacfa
|
|
@ -2222,12 +2222,14 @@
|
|||
}
|
||||
}
|
||||
|
||||
if (ipAddress.vpcid && ipAddress.issourcenat) {
|
||||
if (ipAddress.vpcid || ipAddress.issourcenat) {
|
||||
disableIpRules = true;
|
||||
}
|
||||
|
||||
if (disableVpn) disabledTabs.push('vpn');
|
||||
if (disableIpRules) disabledTabs.push('ipRules');
|
||||
if (disableVpn)
|
||||
disabledTabs.push('vpn');
|
||||
if (disableIpRules)
|
||||
disabledTabs.push('ipRules');
|
||||
|
||||
return disabledTabs;
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue