From beb8317f94a8d3e5e8cf972c85b10eafb5d12c9e Mon Sep 17 00:00:00 2001 From: DJ2LS Date: Thu, 8 Feb 2024 10:13:25 +0100 Subject: [PATCH] added ping message to gui --- gui/src/js/eventHandler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);