CLOUDSTACK-5557: UI > Network > VPC > Router > Public IP Address > fix a bug that Configuration tab was wrongly hidden.

This commit is contained in:
Jessica Wang 2014-01-14 10:54:49 -08:00
parent 5bf5d3669d
commit 69365836af
1 changed files with 5 additions and 1 deletions

View File

@ -2222,7 +2222,11 @@
}
}
if (ipAddress.vpcid || ipAddress.issourcenat) {
if (ipAddress.issourcenat) {
disableIpRules = true;
}
if (('vpc' in args.context) == false && ipAddress.vpcid != null) { //from Guest Network section, don't show Configuration(ipRules) tab on VPC IP
disableIpRules = true;
}