Skip to content

Commit

Permalink
added FCC link to error popup message
Browse files Browse the repository at this point in the history
  • Loading branch information
mmt456 committed Jul 2, 2024
1 parent 61a63b5 commit bd46f52
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/vis/MeasurementMap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ function organizePopup(apiText: any, postcode: any, lon: any, lat: any): string{
let dict = JSON.parse(apiText);
console.log(dict);
if(Object.keys(dict).length == 0) {
return "No prices could be found." + "Visit <a href='https://www.allconnect.com/results/providers?zip=" + postcode + "'>allconnect.com</a>" + " to see provider rates in your area.";
return "No prices could be found." + "Visit " + "<a href='https://broadbandmap.fcc.gov/location-summary/fixed?lon=" + lon + "&lat=" + lat + "'>FCC National Broadband Map.</a>" + " to see providers in your area, and "
+ "<a href='https://www.allconnect.com/results/providers?zip=" + postcode + "'>allconnect.com</a>" + " to see provider rates in your area.";
}
let returnString = "<table style='border:1px solid black;'>"
+ "<b>" + "<tr>"
Expand Down

0 comments on commit bd46f52

Please sign in to comment.