mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-09-24 16:24:32 +00:00
Improve the way hamsat alerts work, and add the ability to detect satellite names from spot comments. Closes #149
This commit is contained in:
@@ -266,6 +266,11 @@ function addAlertRowsToTable(tbody, alerts) {
|
||||
} else {
|
||||
items[i] = `${escapeHtml(a["sig_refs"][i]["id"])}`
|
||||
}
|
||||
// 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"];
|
||||
}
|
||||
}
|
||||
activityRefs = items.join(", ");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user