Improve failover startup handling and status UI
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user