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
a2130fab5e
commit
2582972c34
|
@ -77,9 +77,7 @@ function set_hamlib_rf_level() {
|
|||
id="dropdownMenuButton"
|
||||
data-bs-toggle="dropdown"
|
||||
aria-expanded="false"
|
||||
>
|
||||
|
||||
</button>
|
||||
></button>
|
||||
|
||||
<!-- Dropdown Menu -->
|
||||
<ul class="dropdown-menu" aria-labelledby="dropdownMenuButton">
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
<script setup lang="ts">
|
||||
|
||||
import { setActivePinia } from "pinia";
|
||||
import pinia from "../store/index";
|
||||
setActivePinia(pinia);
|
||||
|
|
|
@ -7,7 +7,6 @@ import { useStateStore } from "../store/stateStore.js";
|
|||
const state = useStateStore(pinia);
|
||||
|
||||
import { settingsStore as settings } from "../store/settingsStore.js";
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
|
|
@ -318,7 +318,10 @@ import { serialDeviceOptions } from "../js/deviceFormHelper";
|
|||
@change="onChange"
|
||||
v-model="settings.remote.RADIO.serial_port"
|
||||
>
|
||||
<option v-for="option in serialDeviceOptions()" v-bind:value="option.port">
|
||||
<option
|
||||
v-for="option in serialDeviceOptions()"
|
||||
v-bind:value="option.port"
|
||||
>
|
||||
{{ option.port }}
|
||||
</option>
|
||||
</select>
|
||||
|
|
|
@ -6,7 +6,6 @@ import pinia from "../store/index";
|
|||
setActivePinia(pinia);
|
||||
|
||||
import { settingsStore as settings, onChange } from "../store/settingsStore.js";
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
|
|
@ -701,7 +701,7 @@ export function startChatWithNewStation(call) {
|
|||
let newchat: newChatDefaultObject = {
|
||||
command: "newchat",
|
||||
is_new: false,
|
||||
timestamp: Math.floor((new Date()).getTime() / 1000),
|
||||
timestamp: Math.floor(new Date().getTime() / 1000),
|
||||
dxcallsign: call,
|
||||
};
|
||||
addObjToDatabase(newchat);
|
||||
|
@ -716,7 +716,6 @@ if (!chat.sorted_beacon_list[call]) {
|
|||
}
|
||||
//chat.unsorted_chat_list.push(newchat);
|
||||
//chat.sorted_chat_list = sortChatList();
|
||||
|
||||
}
|
||||
|
||||
// function for handling a received beacon
|
||||
|
|
|
@ -84,4 +84,4 @@ if (settingsStore.remote.STATION.mycall === "") {
|
|||
watch(settingsStore.local, (oldValue, newValue) => {
|
||||
// TODO handle local file saving
|
||||
const cenas = newValue;
|
||||
})
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue