mirror of https://github.com/apache/cloudstack.git
new UI - IP address page - IP address used for source NAT purpose do not have release IP option.
This commit is contained in:
parent
e5c9384a3a
commit
c4a4c813ba
|
|
@ -242,7 +242,7 @@ function ipJsonToDetailsTab(ipObj) {
|
|||
$actionMenu.find("#action_list").empty();
|
||||
var noAvailableActions = true;
|
||||
|
||||
if(isIpManageable(ipObj.domainid, ipObj.account) == true) {
|
||||
if(isIpManageable(ipObj.domainid, ipObj.account) == true && ipObj.issourcenat != "true") {
|
||||
buildActionLinkForDetailsTab("Release IP", ipActionMap, $actionMenu, null);
|
||||
noAvailableActions = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue