Bug fix: Dont display empty item in free ip list (#3790)

This commit is contained in:
Rakesh 2019-12-30 18:20:04 +01:00 committed by Andrija Panic
parent 4fa7fadd21
commit d55a2af7df
1 changed files with 1 additions and 4 deletions

View File

@ -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({