Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: guard latestRelease.version type, separate drink button fetch from refresh
Adam Eivya908f2638826
diff --git a/client/src/components/meatspace/tabs/AlcoholTab.jsx b/client/src/components/meatspace/tabs/AlcoholTab.jsxindex bc06babc31..495af0aaef 100644--- a/client/src/components/meatspace/tabs/AlcoholTab.jsx+++ b/client/src/components/meatspace/tabs/AlcoholTab.jsx@@ -89,8 +89,11 @@ export default function AlcoholTab() {useEffect(() => {fetchDrinkButtons();+ }, [fetchDrinkButtons]);++ useEffect(() => {fetchData();- }, [fetchDrinkButtons, fetchData, refreshKey]);+ }, [fetchData, refreshKey]);// Fetch correlation data for HRV chartconst chartDays = { '7d': 7, '30d': 30, '90d': 90 }[chartView] || 30;diff --git a/server/services/updateChecker.js b/server/services/updateChecker.jsindex 10a90f6d18..48f7c2e14b 100644--- a/server/services/updateChecker.js+++ b/server/services/updateChecker.js@@ -126,11 +126,15 @@ export async function checkForUpdate() {export async function getUpdateStatus() {const state = await loadState();const currentVersion = await getCurrentVersion();- const isNewer = state.latestRelease- ? compareSemver(state.latestRelease.version, currentVersion) > 0+ const latestVersion =+ state.latestRelease && typeof state.latestRelease.version === 'string'+ ? state.latestRelease.version+ : null;+ const isNewer = latestVersion+ ? compareSemver(latestVersion, currentVersion) > 0: false;- const isIgnored = state.latestRelease- ? state.ignoredVersions.includes(state.latestRelease.version)+ const isIgnored = latestVersion+ ? state.ignoredVersions.includes(latestVersion): false;return {