Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

fix(ui): set versionInfo on cached update path so agent badges work (#1228)

rcourtmane06ebb1bb78a
diff --git a/frontend-modern/src/stores/updates.ts b/frontend-modern/src/stores/updates.ts
index edaf4decb5..5aafee84f1 100644
--- a/frontend-modern/src/stores/updates.ts
+++ b/frontend-modern/src/stores/updates.ts
@@ -67,6 +67,7 @@ const checkForUpdates = async (force = false): Promise<void> => {
// Continue to check for updates
} else {
// Version matches, use cached data
+ setVersionInfo(currentVersion);
setUpdateInfo(state.updateInfo);
setUpdateAvailable(state.updateInfo.available);