From 2582972c340dc8dce60163439df7c4200b81db96 Mon Sep 17 00:00:00 2001 From: codefactor-io Date: Sat, 18 Nov 2023 16:12:05 +0000 Subject: [PATCH] [CodeFactor] Apply fixes --- gui/src/components/chat_navbar.vue | 2 +- .../components/main_active_heard_stations.vue | 2 +- .../components/main_active_rig_control.vue | 4 +- gui/src/components/main_modals.vue | 2 +- gui/src/components/main_my_station.vue | 3 +- gui/src/components/main_top_navbar.vue | 3 +- gui/src/components/settings_chat.vue | 2 +- gui/src/components/settings_exp.vue | 2 +- gui/src/components/settings_gui.vue | 2 +- gui/src/components/settings_hamlib.vue | 5 ++- gui/src/components/settings_web.vue | 1 - gui/src/js/chatHandler.ts | 41 +++++++++---------- gui/src/js/eventHandler.js | 2 +- gui/src/js/settingsHandler.ts | 2 +- gui/src/js/sock.js | 2 +- gui/src/js/waterfallHandler.js | 2 +- gui/src/store/settingsStore.js | 4 +- 17 files changed, 39 insertions(+), 42 deletions(-) diff --git a/gui/src/components/chat_navbar.vue b/gui/src/components/chat_navbar.vue index dace9520..4fff980c 100644 --- a/gui/src/components/chat_navbar.vue +++ b/gui/src/components/chat_navbar.vue @@ -108,7 +108,7 @@ function newChat() { let callsign = this.newChatCall.value; callsign = callsign.toUpperCase().trim(); if (callsign === "") return; - startChatWithNewStation(callsign); + startChatWithNewStation(callsign); //updateAllChat(false); this.newChatCall.value = ""; } diff --git a/gui/src/components/main_active_heard_stations.vue b/gui/src/components/main_active_heard_stations.vue index 5afbe352..8577d3dc 100644 --- a/gui/src/components/main_active_heard_stations.vue +++ b/gui/src/components/main_active_heard_stations.vue @@ -6,7 +6,7 @@ import { setActivePinia } from "pinia"; import pinia from "../store/index"; setActivePinia(pinia); -import { settingsStore as settings} from "../store/settingsStore.js"; +import { settingsStore as settings } from "../store/settingsStore.js"; import { useStateStore } from "../store/stateStore.js"; const state = useStateStore(pinia); diff --git a/gui/src/components/main_active_rig_control.vue b/gui/src/components/main_active_rig_control.vue index c637d843..f2b9504a 100644 --- a/gui/src/components/main_active_rig_control.vue +++ b/gui/src/components/main_active_rig_control.vue @@ -77,9 +77,7 @@ function set_hamlib_rf_level() { id="dropdownMenuButton" data-bs-toggle="dropdown" aria-expanded="false" - > - - + >