fix: cluster view header styling

This commit is contained in:
2025-10-14 23:00:45 +02:00
parent 2cc62d1ee2
commit 39eae6562c
3 changed files with 7 additions and 8 deletions

View File

@@ -56,13 +56,13 @@ class ClusterStatusComponent extends Component {
// Determine WebSocket status
if (this.wsConnected) {
wsStatusIcon = window.icon('dotGreen', { width: 10, height: 10 });
wsStatusText = 'Live';
wsStatusText = 'WS';
} else if (this.wsReconnectAttempts > 0) {
wsStatusIcon = window.icon('dotYellow', { width: 10, height: 10 });
wsStatusText = 'Reconnecting';
wsStatusText = 'WS Reconnecting';
} else {
wsStatusIcon = window.icon('dotRed', { width: 10, height: 10 });
wsStatusText = 'Offline';
wsStatusText = 'WS Offline';
}
if (error) {
@@ -74,7 +74,7 @@ class ClusterStatusComponent extends Component {
statusIcon = window.icon('dotRed', { width: 12, height: 12 });
statusClass = 'cluster-status-offline';
} else if (clientInitialized) {
statusText = 'Cluster Online';
statusText = 'Cluster';
statusIcon = window.icon('dotGreen', { width: 12, height: 12 });
statusClass = 'cluster-status-online';
} else {