mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
[CodeFactor] Apply fixes to commit 3c9c115
This commit is contained in:
parent
3c9c115931
commit
34101b8a20
3 changed files with 3 additions and 5 deletions
|
@ -6,8 +6,7 @@ setActivePinia(pinia);
|
||||||
import { useStateStore } from "../store/stateStore.js";
|
import { useStateStore } from "../store/stateStore.js";
|
||||||
const state = useStateStore(pinia);
|
const state = useStateStore(pinia);
|
||||||
|
|
||||||
import { getOverallHealth } from "../js/eventHandler.js"
|
import { getOverallHealth } from "../js/eventHandler.js";
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<a
|
<a
|
||||||
|
|
|
@ -327,7 +327,6 @@ export function getOverallHealth() {
|
||||||
health += 5;
|
health += 5;
|
||||||
stateStore.is_modem_running = false;
|
stateStore.is_modem_running = false;
|
||||||
stateStore.radio_status = false;
|
stateStore.radio_status = false;
|
||||||
|
|
||||||
}
|
}
|
||||||
if (!stateStore.is_modem_running) health += 3;
|
if (!stateStore.is_modem_running) health += 3;
|
||||||
if (stateStore.radio_status === false) health += 2;
|
if (stateStore.radio_status === false) health += 2;
|
||||||
|
|
Loading…
Reference in a new issue