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: Update Channel setting not persisting after save

rcourtmane30f61a21681
diff --git a/frontend-modern/src/components/Settings/Settings.tsx b/frontend-modern/src/components/Settings/Settings.tsx
index dbe65b99bf..6a175fb709 100644
--- a/frontend-modern/src/components/Settings/Settings.tsx
+++ b/frontend-modern/src/components/Settings/Settings.tsx
@@ -2040,7 +2040,9 @@ const Settings: Component<SettingsProps> = (props) => {
setVersionInfo(version);
// Also set it in the store so it's available globally
updateStore.checkForUpdates(); // This will load version info too
- if (version.channel) {
+ // Only use version.channel as fallback if user hasn't configured a preference
+ // The user's saved updateChannel preference should take priority
+ if (version.channel && !systemSettings.updateChannel) {
setUpdateChannel(version.channel as 'stable' | 'rc');
}
} catch (error) {