From a9ba338a21248cf774484b7bfd4e3fb0f5311972 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6nig?= Date: Wed, 16 Mar 2022 14:12:39 +0100 Subject: [PATCH] Fix list add for already forwarded queries MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christian König --- scripts/pi-hole/js/queries.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pi-hole/js/queries.js b/scripts/pi-hole/js/queries.js index 091a6f98..a9b06485 100644 --- a/scripts/pi-hole/js/queries.js +++ b/scripts/pi-hole/js/queries.js @@ -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");