mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
[CodeFactor] Apply fixes
This commit is contained in:
parent
e3d9e7e24c
commit
169990ed58
4 changed files with 8 additions and 13 deletions
|
@ -182,18 +182,17 @@ onMounted(shuffleCards);
|
||||||
</div>
|
</div>
|
||||||
<hr />
|
<hr />
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
<h6>We would like to especially thank the following</h6>
|
<h6>We would like to especially thank the following</h6>
|
||||||
</div>
|
</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="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="d-inline-block" v-for="card in cards" :key="card.titleName">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<div
|
<div class="card border-dark m-2" style="max-width: 15rem">
|
||||||
class="card border-dark m-2"
|
|
||||||
style="max-width: 15rem"
|
|
||||||
>
|
|
||||||
<img :src="card.imgSrc" class="card-img-top grayscale" />
|
<img :src="card.imgSrc" class="card-img-top grayscale" />
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<p class="card-text text-center">{{ card.role }}</p>
|
<p class="card-text text-center">{{ card.role }}</p>
|
||||||
|
|
|
@ -20,7 +20,6 @@ function saveSettings() {
|
||||||
id="theme_selector"
|
id="theme_selector"
|
||||||
@change="saveSettings"
|
@change="saveSettings"
|
||||||
v-model="settings.local.theme"
|
v-model="settings.local.theme"
|
||||||
|
|
||||||
>
|
>
|
||||||
<option value="default_light">Default (light)</option>
|
<option value="default_light">Default (light)</option>
|
||||||
<option value="default_dark">Default (dark)</option>
|
<option value="default_dark">Default (dark)</option>
|
||||||
|
@ -79,7 +78,6 @@ function saveSettings() {
|
||||||
id="GraphicsSwitch"
|
id="GraphicsSwitch"
|
||||||
@change="saveSettings"
|
@change="saveSettings"
|
||||||
v-model="settings.local.high_graphics"
|
v-model="settings.local.high_graphics"
|
||||||
|
|
||||||
/>
|
/>
|
||||||
<label class="form-check-label" for="GraphicsSwitch"
|
<label class="form-check-label" for="GraphicsSwitch"
|
||||||
>Higher CPU Usage</label
|
>Higher CPU Usage</label
|
||||||
|
@ -105,7 +103,6 @@ function saveSettings() {
|
||||||
id="update_channel_selector"
|
id="update_channel_selector"
|
||||||
@change="saveSettings"
|
@change="saveSettings"
|
||||||
v-model="settings.local.update_channel"
|
v-model="settings.local.update_channel"
|
||||||
|
|
||||||
>
|
>
|
||||||
<option value="latest">Stable</option>
|
<option value="latest">Stable</option>
|
||||||
<option value="beta">Beta</option>
|
<option value="beta">Beta</option>
|
||||||
|
@ -122,7 +119,6 @@ function saveSettings() {
|
||||||
id="NotificationSwitch"
|
id="NotificationSwitch"
|
||||||
@change="saveSettings"
|
@change="saveSettings"
|
||||||
v-model="settings.local.enable_sys_notification"
|
v-model="settings.local.enable_sys_notification"
|
||||||
|
|
||||||
/>
|
/>
|
||||||
<label class="form-check-label" for="NotificationSwitch"
|
<label class="form-check-label" for="NotificationSwitch"
|
||||||
>Show system pop-ups</label
|
>Show system pop-ups</label
|
||||||
|
|
|
@ -4,7 +4,7 @@ let audioDevices = await getAudioDevices();
|
||||||
let serialDevices = await getSerialDevices();
|
let serialDevices = await getSerialDevices();
|
||||||
|
|
||||||
//Add an ignore option for rig and ptt for transceivers that don't require them
|
//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
|
//Dummy device data sent if unable to get devices from modem to prevent GUI crash
|
||||||
const skel = JSON.parse(`
|
const skel = JSON.parse(`
|
||||||
|
|
Loading…
Reference in a new issue