kopia lustrzana https://gitlab.com/gridtracker.org/gridtracker
Fixed nil leaks in roster processing
rodzic
6d6e86df36
commit
76eee3493f
|
@ -65,6 +65,7 @@ function processRosterHunting(callRoster, rosterSettings)
|
|||
|
||||
callObj.hunting = {}
|
||||
callObj.callFlags = {}
|
||||
callObj.style = callObj.style || {}
|
||||
|
||||
let colorObject = Object();
|
||||
|
||||
|
@ -141,7 +142,7 @@ function processRosterHunting(callRoster, rosterSettings)
|
|||
entry.tx = false;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
// Special Calls
|
||||
if (callObj.DEcall.match("^[A-Z][0-9][A-Z](/w+)?$"))
|
||||
{
|
||||
|
|
|
@ -63,7 +63,7 @@ const ROSTER_COLUMNS = {
|
|||
html: html = callObj.DEcall.formatCallsign()
|
||||
}
|
||||
|
||||
let acks = window.opener.g_acknowledgedCalls;
|
||||
let acks = window.opener.g_acknowledgedCalls || {};
|
||||
if (acks[callObj.DEcall])
|
||||
{
|
||||
attrs.html = `${attrs.html} <span class='acknowledged'><img class='ackBadge' src='${acks[callObj.DEcall].badge}'></span>`
|
||||
|
|
Ładowanie…
Reference in New Issue