-
-
-
-
-
-
-
-
-
-
Placeholder content for this accordion, which is intended to demonstrate the .accordion-flush
class. This is the first item's accordion body.
-
-
-
-
-
-
Placeholder content for this accordion, which is intended to demonstrate the .accordion-flush
class. This is the second item's accordion body. Let's imagine this being filled with some actual content.
-
-
-
-
-
-
Placeholder content for this accordion, which is intended to demonstrate the .accordion-flush
class. This is the third item's accordion body. Nothing more exciting happening here in terms of content, but just filling up the space to make it look, at least at first glance, a bit more representative of how this would look in a real-world application.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
+
diff --git a/gui/src/js/eventHandler.js b/gui/src/js/eventHandler.js
index 58a997e9..19514014 100644
--- a/gui/src/js/eventHandler.js
+++ b/gui/src/js/eventHandler.js
@@ -19,15 +19,13 @@ const stateStore = useStateStore(pinia);
import { useSettingsStore } from "../store/settingsStore.js";
const settings = useSettingsStore(pinia);
-export function connectionFailed(endpoint, event){
- stateStore.modem_connection = "disconnected"
-
+export function connectionFailed(endpoint, event) {
+ stateStore.modem_connection = "disconnected";
}
export function stateDispatcher(data) {
console.log(data);
- stateStore.modem_connection = "connected"
-
+ stateStore.modem_connection = "connected";
if (data["freedata-message"] == "state-change") {
stateStore.channel_busy = data["channel_busy"];
diff --git a/gui/src/js/event_sock.js b/gui/src/js/event_sock.js
index 22d6e17b..a2116de6 100644
--- a/gui/src/js/event_sock.js
+++ b/gui/src/js/event_sock.js
@@ -1,4 +1,8 @@
-import { eventDispatcher, stateDispatcher, connectionFailed } from "../js/eventHandler.js";
+import {
+ eventDispatcher,
+ stateDispatcher,
+ connectionFailed,
+} from "../js/eventHandler.js";
import { addDataToWaterfall } from "../js/waterfallHandler.js";
function connect(endpoint, dispatcher) {
@@ -17,7 +21,7 @@ function connect(endpoint, dispatcher) {
// handle errors
socket.addEventListener("error", function (event) {
console.error("WebSocket error:", event);
- connectionFailed(endpoint, event)
+ connectionFailed(endpoint, event);
});
// handle closing and reconnect