Improve failover startup handling and status UI
Build and Deploy Gateway / build-and-push (push) Successful in 25s
Build and Deploy Gateway / deploy (push) Successful in 6s

This commit is contained in:
2026-08-19 20:24:04 +03:00
parent cedd31cc16
commit 3b515ee355
10 changed files with 190 additions and 63 deletions
+6 -4
View File
@@ -796,11 +796,13 @@ export function ClientOverviewPage({
? `Переключаем на ${subscriptionDomain(operationProfile.subscription.host)} · ${operationServer.label}`
: '';
const failoverIdentity = isGateway && state.failover.enabled
? `${state.failover.currentRole === 'reserve'
? state.failover.currentRole === 'other'
? state.failover.reason === 'vpn-stopped'
? 'Резерв включится при запуске VPN'
: 'Резерв применится после перезапуска VPN'
: `${state.failover.currentRole === 'reserve'
? 'Резервный канал'
: state.failover.currentRole === 'primary'
? 'Основной канал'
: 'Текущий канал вне резервной пары'} · ${failoverReasonLabel(state.failover.reason)}`
: 'Основной канал'} · ${failoverReasonLabel(state.failover.reason)}`
: '';
return (