[CodeFactor] Apply fixes to commit 3c9c115

This commit is contained in:
codefactor-io 2024-02-08 12:39:36 +00:00
parent 3c9c115931
commit 34101b8a20
No known key found for this signature in database
GPG key ID: B66B2D63282C190F
3 changed files with 3 additions and 5 deletions

View file

@ -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

View file

@ -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;