mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 12:48:29 +00:00
Only add link to Query Log when filtering property is available
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -497,7 +497,9 @@ function updateForwardDestinationsPie() {
|
||||
} else if (e.which === 1) {
|
||||
// which == 1 is left mouse button
|
||||
var obj = encodeURIComponent(e.target.textContent);
|
||||
window.open("queries.php?forwarddest=" + obj, "_self");
|
||||
if (obj.length > 0) {
|
||||
window.open("queries.php?forwarddest=" + obj, "_self");
|
||||
}
|
||||
}
|
||||
});
|
||||
}).done(function () {
|
||||
|
||||
Reference in New Issue
Block a user