diff --git a/gui/src/js/eventHandler.js b/gui/src/js/eventHandler.js index 34477348..7f4abfb7 100644 --- a/gui/src/js/eventHandler.js +++ b/gui/src/js/eventHandler.js @@ -137,7 +137,7 @@ export function eventDispatcher(data) { return; - switch (data["received"].state) { + switch (data["received"]) { case "PING": message = `Ping request from: ${data.dxcallsign}, SNR: ${data.snr}`; displayToast("success", "bi-check-circle", message, 5000);