diff --git a/frontend/src/app/components/server-health/server-health.component.html b/frontend/src/app/components/server-health/server-health.component.html
index 89b10ebef..4d543256a 100644
--- a/frontend/src/app/components/server-health/server-health.component.html
+++ b/frontend/src/app/components/server-health/server-health.component.html
@@ -19,8 +19,8 @@
RTT |
RTT |
Height |
- Peg |
- Hybrid |
+ Peg |
+ Hybrid |
Front |
Back |
Electrs |
@@ -36,9 +36,9 @@
{{ (host.rtt / 1000) | number : '1.1-1' }} {{ host.rtt == null ? '' : 's'}} {{ !host.checked ? '⏳' : (host.unreachable ? '🔥' : '✅') }} |
{{ host.rtt | number : '1.0-0' }} {{ host.rtt == null ? '' : 'ms'}} {{ !host.checked ? '⏳' : (host.unreachable ? '🔥' : '✅') }} |
{{ host.latestHeight }} {{ !host.checked ? '⏳' : (host.outOfSync ? '🚫' : (host.latestHeight && host.latestHeight < maxHeight ? '🟧' : '✅')) }} |
- {{ formatPegRatio(host.liquidAudit?.pegRatio) }} |
+ {{ formatPegRatio(host.liquidAudit?.pegRatio) }} |
-
+ |
@if (type !== 'core' && type !== 'os' && host.hashes?.[type]) {
{{ host.hashes[type].slice(0, 8) || '?' }}
} @else if (host.hashes?.[type]) {
diff --git a/frontend/src/app/components/server-health/server-health.component.ts b/frontend/src/app/components/server-health/server-health.component.ts
index 7e4d173c5..d58733c21 100644
--- a/frontend/src/app/components/server-health/server-health.component.ts
+++ b/frontend/src/app/components/server-health/server-health.component.ts
@@ -18,7 +18,8 @@ export class ServerHealthComponent implements OnInit {
interval: number;
now: number = Date.now();
colors: Record> = {};
- isLiquid = false;
+ isLiquidMainnet = false;
+ showHybridHash = false;
repoMap = {
frontend: 'mempool',
@@ -95,7 +96,8 @@ export class ServerHealthComponent implements OnInit {
this.cd.markForCheck();
}, 1000);
- this.isLiquid = this.stateService.network === 'liquid';
+ this.isLiquidMainnet = this.stateService.network === 'liquid';
+ this.showHybridHash = !this.stateService.isLiquid();
}
trackByFn(index: number, host: HealthCheckHost): string {
|