[CodeFactor] Apply fixes to commit 5ae2ec9

This commit is contained in:
codefactor-io 2024-01-12 20:40:52 +00:00
parent 5ae2ec9d28
commit fc38f79674
No known key found for this signature in database
GPG key ID: B66B2D63282C190F
3 changed files with 52 additions and 16 deletions

View file

@ -19,7 +19,6 @@ import {
import main_startup_check from "./main_startup_check.vue"; import main_startup_check from "./main_startup_check.vue";
function deleteChat() { function deleteChat() {
//console.log(chat.selectedCallsign) //console.log(chat.selectedCallsign)
deleteChatByCallsign(chat.selectedCallsign); deleteChatByCallsign(chat.selectedCallsign);
@ -1190,7 +1189,9 @@ const transmissionSpeedChartDataMessageInfo = computed(() => ({
</div> </div>
<div class="input-group input-group-sm mb-1"> <div class="input-group input-group-sm mb-1">
<span class="input-group-text">RX Level</span> <span class="input-group-text">RX Level</span>
<span class="input-group-text">{{ settings.remote.AUDIO.rx_audio_level }}</span> <span class="input-group-text">{{
settings.remote.AUDIO.rx_audio_level
}}</span>
<span class="input-group-text w-75"> <span class="input-group-text w-75">
<input <input
type="range" type="range"
@ -1205,7 +1206,9 @@ const transmissionSpeedChartDataMessageInfo = computed(() => ({
</div> </div>
<div class="input-group input-group-sm mb-1"> <div class="input-group input-group-sm mb-1">
<span class="input-group-text">TX Level</span> <span class="input-group-text">TX Level</span>
<span class="input-group-text">{{ settings.remote.AUDIO.tx_audio_level }}</span> <span class="input-group-text">{{
settings.remote.AUDIO.tx_audio_level
}}</span>
<span class="input-group-text w-75"> <span class="input-group-text w-75">
<input <input
type="range" type="range"

View file

@ -166,7 +166,6 @@ import settings_exp from "./settings_exp.vue";
<settings_rigcontrol /> <settings_rigcontrol />
</div> </div>
<div <div
class="tab-pane" class="tab-pane"
id="modem" id="modem"

View file

@ -2,8 +2,6 @@
import { settingsStore as settings, onChange } from "../store/settingsStore.js"; import { settingsStore as settings, onChange } from "../store/settingsStore.js";
import settings_hamlib from "./settings_hamlib.vue"; import settings_hamlib from "./settings_hamlib.vue";
import settings_tci from "./settings_tci.vue"; import settings_tci from "./settings_tci.vue";
</script> </script>
<template> <template>
@ -29,16 +27,52 @@ import settings_tci from "./settings_tci.vue";
<nav> <nav>
<div class="nav nav-tabs" id="nav-tab" role="tablist"> <div class="nav nav-tabs" id="nav-tab" role="tablist">
<button class="nav-link active" id="nav-home-tab" data-bs-toggle="tab" data-bs-target="#nav-hamlib" type="button" role="tab" aria-controls="nav-home" aria-selected="true">Hamlib</button> <button
<button class="nav-link" id="nav-profile-tab" data-bs-toggle="tab" data-bs-target="#nav-tci" type="button" role="tab" aria-controls="nav-profile" aria-selected="false">TCI</button> class="nav-link active"
id="nav-home-tab"
data-bs-toggle="tab"
data-bs-target="#nav-hamlib"
type="button"
role="tab"
aria-controls="nav-home"
aria-selected="true"
>
Hamlib
</button>
<button
class="nav-link"
id="nav-profile-tab"
data-bs-toggle="tab"
data-bs-target="#nav-tci"
type="button"
role="tab"
aria-controls="nav-profile"
aria-selected="false"
>
TCI
</button>
</div>
</nav>
<div class="tab-content" id="nav-tabContent">
<div
class="tab-pane fade show active"
id="nav-hamlib"
role="tabpanel"
aria-labelledby="nav-hamlib-tab"
tabindex="0"
>
<settings_hamlib />
</div>
<div
class="tab-pane fade"
id="nav-tci"
role="tabpanel"
aria-labelledby="nav-tci-tab"
tabindex="0"
>
<settings_tci />
</div>
</div> </div>
</nav>
<div class="tab-content" id="nav-tabContent">
<div class="tab-pane fade show active" id="nav-hamlib" role="tabpanel" aria-labelledby="nav-hamlib-tab" tabindex="0"><settings_hamlib /></div>
<div class="tab-pane fade" id="nav-tci" role="tabpanel" aria-labelledby="nav-tci-tab" tabindex="0"><settings_tci /></div>
</div>
<hr class="m-2" /> <hr class="m-2" />
</template> </template>