diff --git a/public/app.js b/public/app.js index 724824a..7fe5b8a 100644 --- a/public/app.js +++ b/public/app.js @@ -155,11 +155,8 @@ function updateClusterStatusBadge(totalNodes, clientInitialized, error) { statusText = 'Cluster Discovering...'; statusIcon = '🔍'; statusClass = 'cluster-status-discovering'; - } else if (error) { - statusText = 'Cluster Error'; - statusIcon = '❌'; - statusClass = 'cluster-status-error'; - } else if (totalNodes === 0) { + } else if (error || totalNodes === 0) { + // Show "Cluster Offline" for both errors and when no nodes are discovered statusText = 'Cluster Offline'; statusIcon = '🔴'; statusClass = 'cluster-status-offline';