fix: cluster status badge

This commit is contained in:
2025-08-27 17:17:47 +02:00
parent 8818e43301
commit 6b5ff2939c
6 changed files with 404 additions and 39 deletions

View File

@@ -15,6 +15,11 @@ class ClusterViewModel extends ViewModel {
activeTabs: new Map(), // Store active tab for each node
lastUpdateTime: null
});
// Initialize cluster status after a short delay to allow components to subscribe
setTimeout(() => {
this.updatePrimaryNodeDisplay();
}, 100);
}
// Update cluster members with state preservation