feat: replace all emojis with SVG icons
This commit is contained in:
@@ -20,19 +20,19 @@ class ClusterStatusComponent extends Component {
|
||||
|
||||
if (error) {
|
||||
statusText = 'Cluster Error';
|
||||
statusIcon = '❌';
|
||||
statusIcon = window.icon('error', { width: 12, height: 12 });
|
||||
statusClass = 'cluster-status-error';
|
||||
} else if (totalNodes === 0) {
|
||||
statusText = 'Cluster Offline';
|
||||
statusIcon = '🔴';
|
||||
statusIcon = window.icon('dotRed', { width: 12, height: 12 });
|
||||
statusClass = 'cluster-status-offline';
|
||||
} else if (clientInitialized) {
|
||||
statusText = 'Cluster Online';
|
||||
statusIcon = '🟢';
|
||||
statusIcon = window.icon('dotGreen', { width: 12, height: 12 });
|
||||
statusClass = 'cluster-status-online';
|
||||
} else {
|
||||
statusText = 'Cluster Connecting';
|
||||
statusIcon = '🟡';
|
||||
statusIcon = window.icon('dotYellow', { width: 12, height: 12 });
|
||||
statusClass = 'cluster-status-connecting';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user