mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
Revert the country selection to something that functions.
This commit is contained in:
parent
42d6efc840
commit
32d746894a
@ -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.name === asn);
|
||||
let targetCountry = countryList.find((row) => row.flag === asn);
|
||||
if (targetCountry === undefined || targetCountry === null) {
|
||||
console.error("Could not find country: " + asn);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user