mirror of https://github.com/apache/cloudstack.git
Bug fix: Dont display empty item in free ip list (#3790)
This commit is contained in:
parent
4fa7fadd21
commit
d55a2af7df
|
|
@ -2147,10 +2147,7 @@
|
|||
data: data,
|
||||
success: function(json) {
|
||||
var ips = json.listpublicipaddressesresponse.publicipaddress;
|
||||
var items = [{
|
||||
id: -1,
|
||||
description: ''
|
||||
}];
|
||||
var items = [];
|
||||
$(ips).each(function() {
|
||||
if (this.state == "Free") {
|
||||
items.push({
|
||||
|
|
|
|||
Loading…
Reference in New Issue