mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 12:48:29 +00:00
Fix check for white/blacklist action on Query Log
This commit is contained in:
@@ -109,7 +109,8 @@ $(document).ready(function() {
|
||||
});
|
||||
$("#all-queries tbody").on( "click", "button", function () {
|
||||
var data = tableApi.row( $(this).parents("tr") ).data();
|
||||
if (data[4] === "Pi-holed")
|
||||
status = data[4];
|
||||
if (status.substr(0,2) === "Pi")
|
||||
{
|
||||
add(data[2],"white");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user