diff --git a/static/js/alerts.js b/static/js/alerts.js index 00a6ca7..42d6639 100644 --- a/static/js/alerts.js +++ b/static/js/alerts.js @@ -268,8 +268,8 @@ function addAlertRowsToTable(tbody, alerts) { } // If this is a satellite alert the ref will just be the satellite, but DX grid is also important, so // show that if we can. - if (a["sig_refs"][i]["sig"] === "Satellite" && a["dx_grid"]) { - items[i] += " from " + a["sig_refs"][i]["dx_grid"]; + if (a["sig_refs"][i]["sig"] === "Satellite" && a["dx_grid"] != null) { + items[i] += " from " + a["dx_grid"]; } } activityRefs = items.join(", "); diff --git a/templates/add-spot.html b/templates/add-spot.html index 26f4140..61023d4 100644 --- a/templates/add-spot.html +++ b/templates/add-spot.html @@ -77,7 +77,7 @@ - + diff --git a/templates/alerts.html b/templates/alerts.html index fb92161..ad827d8 100644 --- a/templates/alerts.html +++ b/templates/alerts.html @@ -85,7 +85,7 @@ - + diff --git a/templates/bands.html b/templates/bands.html index 03096a2..2da484b 100644 --- a/templates/bands.html +++ b/templates/bands.html @@ -76,8 +76,8 @@ - - + + diff --git a/templates/base.html b/templates/base.html index d7f2da5..2d8df90 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,6 +1,6 @@ {% extends "skeleton.html" %} {% block head_extra %} - + @@ -16,10 +16,10 @@ window.fetchEventSource = fetchEventSource; - - - - + + + + {% end %} {% block body %}