mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
Fix search by country - using wrong key
This commit is contained in:
parent
59d1116893
commit
5174571cd8
@ -192,7 +192,7 @@ function renderAsn(asn, data) {
|
||||
// Build the heading
|
||||
heading.innerText = "ASN #" + asn.toFixed(0) + " (" + targetAsn.name + ")";
|
||||
} else if (renderMode === "country") {
|
||||
let targetCountry = countryList.find((row) => row.iso_code === asn);
|
||||
let targetCountry = countryList.find((row) => row.name === asn);
|
||||
if (targetCountry === undefined || targetCountry === null) {
|
||||
console.error("Could not find country: " + asn);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user