mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 04:38:28 +00:00
Fix list add for already forwarded queries
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
@@ -450,7 +450,7 @@ $(function () {
|
||||
|
||||
$("#all-queries tbody").on("click", "button", function () {
|
||||
var data = tableApi.row($(this).parents("tr")).data();
|
||||
if (data[4] === "2" || data[4] === "3") {
|
||||
if (data[4] === "2" || data[4] === "3" || data[4] === "14") {
|
||||
utils.addFromQueryLog(data[2], "black");
|
||||
} else {
|
||||
utils.addFromQueryLog(data[2], "white");
|
||||
|
||||
Reference in New Issue
Block a user