[CodeFactor] Apply fixes

This commit is contained in:
codefactor-io 2024-01-11 02:21:54 +00:00
parent 8e78111b67
commit da881d8bd2
No known key found for this signature in database
GPG key ID: B66B2D63282C190F
4 changed files with 39 additions and 34 deletions

View file

@ -14,7 +14,6 @@ function startStopBeacon() {
setModemBeacon(true);
}
}
</script>
<template>
<div class="fill h-100" style="width: calc(100% - 24px)">
@ -23,16 +22,15 @@ function startStopBeacon() {
@click="startStopBeacon"
title="Enable/disable periodic beacons"
>Beacon&nbsp;
<span class="" role="status"
<span
class=""
role="status"
v-bind:class="{
'spinner-grow spinner-grow-sm': state.beacon_state === true,
'disabled': state.beacon_state === false,
disabled: state.beacon_state === false,
}"
>
</span>
</a
>
</a>
</div>
</template>

View file

@ -6,16 +6,25 @@ import pinia from "../../store/index";
setActivePinia(pinia);
import { settingsStore } from "../../store/settingsStore.js";
</script>
<template>
<div class="w-100">
<div class="input-group input-group-sm" style="width: calc(100% - 24px);">
<input type="text" class="form-control" disabled style="min-width: 3em;background-color:transparent;" v-model=settingsStore.remote.STATION.mycall>
<div class="input-group input-group-sm" style="width: calc(100% - 24px)">
<input
type="text"
class="form-control"
disabled
style="min-width: 3em; background-color: transparent"
v-model="settingsStore.remote.STATION.mycall"
/>
<span class="input-group-text">-</span>
<input type="text" class="form-control" disabled style="min-width: 2em;max-width: 2.5em;background-color:transparent;" v-model=settingsStore.remote.STATION.myssid>
<input
type="text"
class="form-control"
disabled
style="min-width: 2em; max-width: 2.5em; background-color: transparent"
v-model="settingsStore.remote.STATION.myssid"
/>
</div>
</div>
</template>

View file

@ -6,8 +6,6 @@ import pinia from "../../store/index";
setActivePinia(pinia);
import { settingsStore } from "../../store/settingsStore.js";
</script>
<template>
<div