mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
[CodeFactor] Apply fixes to commit bf31ca5
This commit is contained in:
parent
bf31ca5891
commit
c78d30f9ef
|
@ -244,8 +244,7 @@ export default {
|
|||
data-bs-html="true"
|
||||
v-bind:class="{
|
||||
'btn-warning': state.channel_busy_slot[0] === true,
|
||||
'btn-outline-secondary':
|
||||
state.channel_busy_slot[0] === false,
|
||||
'btn-outline-secondary': state.channel_busy_slot[0] === false,
|
||||
}"
|
||||
title="Channel busy state: <strong class='text-success'>not busy</strong> / <strong class='text-danger'>busy </strong>"
|
||||
>
|
||||
|
@ -261,8 +260,7 @@ export default {
|
|||
data-bs-html="true"
|
||||
v-bind:class="{
|
||||
'btn-warning': state.channel_busy_slot[1] === true,
|
||||
'btn-outline-secondary':
|
||||
state.channel_busy_slot[1] === false,
|
||||
'btn-outline-secondary': state.channel_busy_slot[1] === false,
|
||||
}"
|
||||
title="Channel busy state: <strong class='text-success'>not busy</strong> / <strong class='text-danger'>busy </strong>"
|
||||
>
|
||||
|
@ -278,8 +276,7 @@ export default {
|
|||
data-bs-html="true"
|
||||
v-bind:class="{
|
||||
'btn-warning': state.channel_busy_slot[2] === true,
|
||||
'btn-outline-secondary':
|
||||
state.channel_busy_slot[2] === false,
|
||||
'btn-outline-secondary': state.channel_busy_slot[2] === false,
|
||||
}"
|
||||
title="Channel busy state: <strong class='text-success'>not busy</strong> / <strong class='text-danger'>busy </strong>"
|
||||
>
|
||||
|
@ -295,8 +292,7 @@ export default {
|
|||
data-bs-html="true"
|
||||
v-bind:class="{
|
||||
'btn-warning': state.channel_busy_slot[3] === true,
|
||||
'btn-outline-secondary':
|
||||
state.channel_busy_slot[3] === false,
|
||||
'btn-outline-secondary': state.channel_busy_slot[3] === false,
|
||||
}"
|
||||
title="Channel busy state: <strong class='text-success'>not busy</strong> / <strong class='text-danger'>busy </strong>"
|
||||
>
|
||||
|
@ -312,8 +308,7 @@ export default {
|
|||
data-bs-html="true"
|
||||
v-bind:class="{
|
||||
'btn-warning': state.channel_busy_slot[4] === true,
|
||||
'btn-outline-secondary':
|
||||
state.channel_busy_slot[4] === false,
|
||||
'btn-outline-secondary': state.channel_busy_slot[4] === false,
|
||||
}"
|
||||
title="Channel busy state: <strong class='text-success'>not busy</strong> / <strong class='text-danger'>busy </strong>"
|
||||
>
|
||||
|
|
|
@ -19,7 +19,7 @@ export const useStateStore = defineStore("stateStore", () => {
|
|||
var speed_level = ref(0);
|
||||
var fft = ref();
|
||||
var channel_busy = ref(false);
|
||||
var channel_busy_slot = ref([false,false,false,false,false]);
|
||||
var channel_busy_slot = ref([false, false, false, false, false]);
|
||||
var scatter = ref();
|
||||
var s_meter_strength_percent = ref(0);
|
||||
var s_meter_strength_raw = ref(0);
|
||||
|
|
Loading…
Reference in a new issue