mirror of
https://github.com/pi-hole/web.git
synced 2025-12-23 20:28:28 +00:00
Fix whitelisting from the query log (and DB query log)
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
This commit is contained in:
@@ -273,7 +273,7 @@ $(document).ready(function() {
|
||||
});
|
||||
$("#all-queries tbody").on( "click", "button", function () {
|
||||
var data = tableApi.row( $(this).parents("tr") ).data();
|
||||
if (data[4] === "1")
|
||||
if (data[4] === 1 || data[4] === 4 || data[5] === 5)
|
||||
{
|
||||
add(data[2],"white");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user