Skip to content

Commit d55a2af

Browse files
raveningandrijapanicsb
authored andcommitted
Bug fix: Dont display empty item in free ip list (#3790)
1 parent 4fa7fad commit d55a2af

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

ui/scripts/network.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2147,10 +2147,7 @@
21472147
data: data,
21482148
success: function(json) {
21492149
var ips = json.listpublicipaddressesresponse.publicipaddress;
2150-
var items = [{
2151-
id: -1,
2152-
description: ''
2153-
}];
2150+
var items = [];
21542151
$(ips).each(function() {
21552152
if (this.state == "Free") {
21562153
items.push({

0 commit comments

Comments
 (0)