fixes for Patches / Star bug

This commit is contained in:
Luke Berndt
2025-01-06 22:04:18 -05:00
parent 3d08ee65d4
commit 24cc7ce605
2 changed files with 2 additions and 1 deletions

View File

@@ -210,6 +210,7 @@ function package_call(item) {
time: item.time,
timeString: timeString,
dateString: dateString,
patches: item.patches,
path: item.path,
name: item.name,
freq: item.freq,

View File

@@ -55,7 +55,7 @@ function CallInfoPane(props) {
talkgroupNum = currentCall.talkgroupNum;
patches = currentCall.patches;
if(patches.length > 1) {
if(patches && (patches.length > 1)) {
patchString = patches.join(", ");
}
else{