1
0
mirror of https://github.com/KubaPro010/fm-dx-webserver.git synced 2026-02-26 22:13:53 +01:00

optional chaining fix + mpatile remote fix

This commit is contained in:
NoobishSVK
2024-02-05 21:43:41 +01:00
parent cb666dab8d
commit 014b36dce0
2 changed files with 3 additions and 3 deletions

View File

@@ -342,7 +342,7 @@ function handleData(ws, receivedData) {
// Get the received TX info
const currentTx = fetchTx(dataToSend.freq, dataToSend.pi, dataToSend.ps);
if(currentTx?.station !== undefined) {
if(currentTx && currentTx.station !== undefined) {
dataToSend.txInfo = {
station: currentTx.station,
pol: currentTx.pol,