From d55a2af7df9e13e65167d5f192dfb50ce39217f1 Mon Sep 17 00:00:00 2001 From: Rakesh Date: Mon, 30 Dec 2019 18:20:04 +0100 Subject: [PATCH] Bug fix: Dont display empty item in free ip list (#3790) --- ui/scripts/network.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ui/scripts/network.js b/ui/scripts/network.js index 86f9fa105e5..353572c22ee 100644 --- a/ui/scripts/network.js +++ b/ui/scripts/network.js @@ -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({