function renderClientList(data) { $.each(data, function(index, obj) { // render client status css tag style let clientStatusHtml = '>' if (obj.Client.enabled) { clientStatusHtml = `style="visibility: hidden;">` } // render client allocated ip addresses let allocatedIpsHtml = ""; $.each(obj.Client.allocated_ips, function(index, obj) { allocatedIpsHtml += `${obj} `; }) // render client allowed ip addresses let allowedIpsHtml = ""; $.each(obj.Client.allowed_ips, function(index, obj) { allowedIpsHtml += `${obj} `; }) // render client private subnets let privateSubnetsHtml = ""; $.each(obj.Client.private_subnets, function(index, obj) { privateSubnetsHtml += `${obj} `; }) // render client html content let html = `