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
36e71f44f7
commit
8792d3b0f2
2 changed files with 15 additions and 15 deletions
|
@ -11,7 +11,7 @@ function getOverallHealth() {
|
|||
let health = 0;
|
||||
if (state.modem_connection !== "connected") health += 5;
|
||||
if (!state.is_modem_running) health += 3;
|
||||
if ( state.radio_status === false) health += 2;
|
||||
if (state.radio_status === false) health += 2;
|
||||
if (process.env.FDUpdateAvail === "1") health += 1;
|
||||
return health;
|
||||
}
|
||||
|
|
|
@ -50,7 +50,7 @@ function getRigControlStuff() {
|
|||
return true;
|
||||
case "rigctld":
|
||||
case "tci":
|
||||
return state.radio_status
|
||||
return state.radio_status;
|
||||
default:
|
||||
console.error(
|
||||
"Unknown radio control mode " + settings.remote.RADIO.control,
|
||||
|
@ -348,20 +348,20 @@ function testHamlib() {
|
|||
>
|
||||
|
||||
<select
|
||||
class="form-select form-select-sm"
|
||||
aria-label=".form-select-sm"
|
||||
id="hamlib_deviceport"
|
||||
style="width: 7rem"
|
||||
@change="onChange"
|
||||
v-model="settings.remote.RADIO.serial_port"
|
||||
>
|
||||
<option
|
||||
v-for="option in serialDeviceOptions()"
|
||||
v-bind:value="option.port"
|
||||
class="form-select form-select-sm"
|
||||
aria-label=".form-select-sm"
|
||||
id="hamlib_deviceport"
|
||||
style="width: 7rem"
|
||||
@change="onChange"
|
||||
v-model="settings.remote.RADIO.serial_port"
|
||||
>
|
||||
{{ option.port }}
|
||||
</option>
|
||||
</select>
|
||||
<option
|
||||
v-for="option in serialDeviceOptions()"
|
||||
v-bind:value="option.port"
|
||||
>
|
||||
{{ option.port }}
|
||||
</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
|
|
Loading…
Reference in a new issue