Skip to content

Commit

Permalink
Query Log: Show X-icon instead of reply time if no reply was received (
Browse files Browse the repository at this point in the history
  • Loading branch information
DL6ER authored Sep 25, 2024
2 parents 8ddcbda + c1fd6b8 commit 0497f49
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/pi-hole/js/queries.js
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,11 @@ $(function () {
$("td:eq(4)", row).text(data.client.ip);
}

// Show X-icon instead of reply time if no reply was received
if (data.reply.type === "UNKNOWN") {
$("td:eq(5)", row).html('<i class="fa fa-times"></i>');
}

if (querystatus.buttontext !== false) {
$("td:eq(6)", row).html(querystatus.buttontext);
}
Expand Down

0 comments on commit 0497f49

Please sign in to comment.