fix: SPE card shows 'SPE offline' instead of 'PowerGenius offline'

This commit is contained in:
2026-07-21 01:31:38 +02:00
parent 7d7d175ede
commit 51c4bda71a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -839,7 +839,7 @@ export function FlexPanel({ onCWSpeed, onReportRST }: { onCWSpeed?: (wpm: number
</div>
<span className={cn('inline-flex items-center gap-1.5 text-sm', spe.connected ? 'text-muted-foreground' : 'text-danger')}>
<span className={cn('size-2 rounded-full', spe.connected ? 'bg-success' : 'bg-danger')} />
{spe.connected ? (spe.tx ? 'TX' : 'RX') : t('flxp.pgOffline')}
{spe.connected ? (spe.tx ? 'TX' : 'RX') : t('flxp.speOffline')}
</span>
{spe.connected && (
<span className="text-sm font-mono text-muted-foreground tabular-nums">