Set hostname to italic unknown if not available

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2020-03-12 19:27:08 +00:00
parent d89b13cf6c
commit a99bfeaa6c

View File

@@ -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)