kopia lustrzana https://gitlab.com/gridtracker.org/gridtracker
first not broken POTA since refactor
rodzic
48c6330db1
commit
c17e84d932
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -5,6 +5,11 @@
|
|||
var g_potaPlaces = null;
|
||||
var g_potaSpots = null;
|
||||
|
||||
const g_NotaAPota = {
|
||||
refrence: null,
|
||||
name: null
|
||||
}
|
||||
|
||||
function ingestPotaPlaces(buffer)
|
||||
{
|
||||
try
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
"start": "run --mirror https://dl.nwjs.io/ ."
|
||||
},
|
||||
"build": {
|
||||
"nwVersion": "0.54.0",
|
||||
"nwVersion": "0.59.0",
|
||||
"output": "../dist/.",
|
||||
"targets": [
|
||||
"zip",
|
||||
|
|
Ładowanie…
Reference in New Issue