[CodeFactor] Apply fixes

This commit is contained in:
codefactor-io 2023-12-19 03:09:17 +00:00
parent e3d9e7e24c
commit 169990ed58
No known key found for this signature in database
GPG key ID: B66B2D63282C190F
4 changed files with 8 additions and 13 deletions

View file

@ -182,18 +182,17 @@ onMounted(shuffleCards);
</div>
<hr />
<div class="row">
<h6>We would like to especially thank the following</h6>
</div>
<div class="d-flex flex-nowrap overflow-y-auto w-100" style="height: calc(100vh - 170px);overflow-x: hidden;">
<div
class="d-flex flex-nowrap overflow-y-auto w-100"
style="height: calc(100vh - 170px); overflow-x: hidden"
>
<div class="row row-cols-1 row-cols-sm-2 row-cols-md-4 row-cols-lg-6">
<div class="d-inline-block" v-for="card in cards" :key="card.titleName">
<div class="col">
<div
class="card border-dark m-2"
style="max-width: 15rem"
>
<div class="card border-dark m-2" style="max-width: 15rem">
<img :src="card.imgSrc" class="card-img-top grayscale" />
<div class="card-body">
<p class="card-text text-center">{{ card.role }}</p>

View file

@ -20,7 +20,6 @@ function saveSettings() {
id="theme_selector"
@change="saveSettings"
v-model="settings.local.theme"
>
<option value="default_light">Default (light)</option>
<option value="default_dark">Default (dark)</option>
@ -79,7 +78,6 @@ function saveSettings() {
id="GraphicsSwitch"
@change="saveSettings"
v-model="settings.local.high_graphics"
/>
<label class="form-check-label" for="GraphicsSwitch"
>Higher CPU Usage</label
@ -105,7 +103,6 @@ function saveSettings() {
id="update_channel_selector"
@change="saveSettings"
v-model="settings.local.update_channel"
>
<option value="latest">Stable</option>
<option value="beta">Beta</option>
@ -122,7 +119,6 @@ function saveSettings() {
id="NotificationSwitch"
@change="saveSettings"
v-model="settings.local.enable_sys_notification"
/>
<label class="form-check-label" for="NotificationSwitch"
>Show system pop-ups</label

View file

@ -4,7 +4,7 @@ let audioDevices = await getAudioDevices();
let serialDevices = await getSerialDevices();
//Add an ignore option for rig and ptt for transceivers that don't require them
serialDevices.push({description:"-- ignore --", port:"ignore"})
serialDevices.push({ description: "-- ignore --", port: "ignore" });
//Dummy device data sent if unable to get devices from modem to prevent GUI crash
const skel = JSON.parse(`