mirror of
https://github.com/pi-hole/web.git
synced 2026-04-19 16:30:52 +01:00
Also show "N/A" if the name column is NULL
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -105,7 +105,7 @@ $(document).ready(function() {
|
||||
}
|
||||
|
||||
// Set hostname to "N/A" if not available
|
||||
if(data["name"] && data["name"].length < 1)
|
||||
if(!data["name"] || data["name"].length < 1)
|
||||
{
|
||||
$("td:eq(3)", row).html("N/A");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user