mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 04:38:28 +00:00
On fast machines, cache replies can be served within less than 100 nanoseconds. The query log should show "(0.0ms)" in this case instead of hiding the value altogether.
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -351,7 +351,7 @@ $(function () {
|
||||
|
||||
$("td:eq(5)", row).html(replytext);
|
||||
|
||||
if (data.length > 7 && data[7] > 0) {
|
||||
if (data.length > 7) {
|
||||
var content = $("td:eq(5)", row).html();
|
||||
$("td:eq(5)", row).html(content + " (" + (0.1 * data[7]).toFixed(1) + "ms)");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user