From dba125fc87a21c76ca4ecb69fa47e9094b2a3581 Mon Sep 17 00:00:00 2001 From: codefactor-io Date: Mon, 13 Nov 2023 16:41:56 +0000 Subject: [PATCH] [CodeFactor] Apply fixes --- gui/src/components/main_startup_check.vue | 142 +++++++++++----------- 1 file changed, 71 insertions(+), 71 deletions(-) diff --git a/gui/src/components/main_startup_check.vue b/gui/src/components/main_startup_check.vue index 43334765..e097ccf0 100644 --- a/gui/src/components/main_startup_check.vue +++ b/gui/src/components/main_startup_check.vue @@ -28,18 +28,15 @@ import { getModemConfig } from "../js/api"; onMounted(() => { getModemConfig(); new Modal("#modemCheck", {}).show(); - if (state.is_modem_running == false){ - + if (state.is_modem_running == false) { } }); -function getModemState(){ +function getModemState() { // Returns active/inactive if modem is running for modem status label - console.log(state.is_modem_running) - if (state.is_modem_running == true) - return "Active"; - else - return "Inactive"; + console.log(state.is_modem_running); + if (state.is_modem_running == true) return "Active"; + else return "Inactive"; } @@ -119,78 +116,81 @@ function getModemState(){ data-bs-target="#modemStatusCollapse" data-bs-toggle="collapse" > - Modem {{ getModemState() }} + Modem + {{ getModemState() }}
-
- + +
+ +
+ +
- -
- - -
- -
- - -
- + +
+ + +