Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
DJ2LS 2024-02-08 19:37:13 +01:00
commit 3b52312150
3 changed files with 3 additions and 5 deletions

View file

@ -6,8 +6,7 @@ setActivePinia(pinia);
import { useStateStore } from "../store/stateStore.js";
const state = useStateStore(pinia);
import { getOverallHealth } from "../js/eventHandler.js"
import { getOverallHealth } from "../js/eventHandler.js";
</script>
<template>
<a

View file

@ -327,10 +327,9 @@ export function getOverallHealth() {
health += 5;
stateStore.is_modem_running = false;
stateStore.radio_status = false;
}
if (!stateStore.is_modem_running) health += 3;
if (stateStore.radio_status === false) health += 2;
if (process.env.FDUpdateAvail === "1") health += 1;
return health;
}
}

View file

@ -127,4 +127,4 @@ export function getAppDataPath() {
}
return appDataPath;
}
}