Skip to content

Commit c06c67c

Browse files
author
xss
committed
fix aprs check when software name missing
1 parent ab21c21 commit c06c67c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/format.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function formatData(data) {
7575
}
7676
for (let entry in data[key][i].uploaders) {
7777
// This check should probably be done using a modulation field, but this still works I guess..
78-
if (data[key][i].software_name.includes("APRS")) {
78+
if ("software_name" in data[key][i] && data[key][i].software_name.includes("APRS")) {
7979
aprsflag = true;
8080
var stations = data[key][i].uploaders[entry].uploader_callsign.split(",");
8181
for (let uploader in stations) {

0 commit comments

Comments
 (0)