first not broken POTA since refactor

settings-file-dialogs
Matthew Chambers 2022-05-19 21:00:27 -05:00
rodzic 48c6330db1
commit c17e84d932
5 zmienionych plików z 13 dodań i 3 usunięć

Wyświetl plik

@ -7214,6 +7214,10 @@ function handleWsjtxDecode(newMessage)
{
callsign.pota = g_potaSpots.filter(item => item.activator === callsign.DEcall)[0];
}
else
{
callsign.pota = g_NotaAPota;
}
if (newMessage.NW)
{

Wyświetl plik

@ -5,6 +5,11 @@
var g_potaPlaces = null;
var g_potaSpots = null;
const g_NotaAPota = {
refrence: null,
name: null
}
function ingestPotaPlaces(buffer)
{
try

Wyświetl plik

@ -429,7 +429,7 @@ function processRosterHunting(callRoster, rosterSettings)
}
// Hunting for POTAs
if (huntPOTA.checked == true && window.opener.g_mapSettings.offlineMode == false && callObj.pota != null)
if (huntPOTA.checked == true && window.opener.g_mapSettings.offlineMode == false && callObj.pota.reference != null)
{
let huntTotal = callObj.pota.length;
let huntFound = 0, layeredFound = 0, workedFound = 0, layeredWorkedFound = 0;

Wyświetl plik

@ -381,7 +381,8 @@ const ROSTER_COLUMNS = {
tableData: (callObj) => ({
name: "POTA",
rawAttrs: callObj.style.pota,
html: callObj.pota.join(",")
title: callObj.pota.name,
html: callObj.pota.reference
})
}
}

Wyświetl plik

@ -23,7 +23,7 @@
"start": "run --mirror https://dl.nwjs.io/ ."
},
"build": {
"nwVersion": "0.54.0",
"nwVersion": "0.59.0",
"output": "../dist/.",
"targets": [
"zip",