mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 12:48:29 +00:00
Set hostname to italic unknown if not available
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -93,9 +93,9 @@ $(document).ready(function() {
|
||||
$("td:eq(5)", row).html("Never");
|
||||
}
|
||||
|
||||
// Set hostname to "N/A" if not available
|
||||
// Set hostname to "unknown" if not available
|
||||
if (!data.name || data.name.length === 0) {
|
||||
$("td:eq(3)", row).html("N/A");
|
||||
$("td:eq(3)", row).html("<em>unknown</em>");
|
||||
}
|
||||
|
||||
// Set number of queries to localized string (add thousand separators)
|
||||
|
||||
Reference in New Issue
Block a user