fix: bug where contextual menu was disappearing quickly

This commit is contained in:
2026-06-21 20:31:54 +02:00
parent 5d9765be09
commit 725600c341
3 changed files with 11 additions and 13 deletions
+7 -8
View File
@@ -208,11 +208,11 @@ const TREE: TreeNode[] = [
{
kind: 'group', label: 'Hardware Configuration', icon: Server, defaultOpen: true, children: [
{ kind: 'item', label: 'CAT interface', id: 'cat' },
{ kind: 'item', label: 'Rotator', id: 'rotator' },
{ kind: 'item', label: 'PstRotator', id: 'rotator' },
{ kind: 'item', label: 'CW Keyer', id: 'winkeyer' },
{ kind: 'item', label: 'Antenna', id: 'antenna' },
{ kind: 'item', label: 'UltraBeam', id: 'antenna' },
{ kind: 'item', label: 'Antenna Genius', id: 'antgenius' },
{ kind: 'item', label: 'PowerGenius', id: 'pgxl' },
{ kind: 'item', label: 'Power Genius', id: 'pgxl' },
{ kind: 'item', label: 'Audio devices', id: 'audio' },
],
},
@@ -235,11 +235,11 @@ const SECTION_LABELS: Partial<Record<SectionId, string>> = {
udp: 'UDP integrations',
awards: 'Awards',
cat: 'CAT interface',
rotator: 'Rotator',
rotator: 'PstRotator',
winkeyer: 'CW Keyer',
antenna: 'Antenna',
antenna: 'UltraBeam',
antgenius: 'Antenna Genius',
pgxl: 'PowerGenius',
pgxl: 'Power Genius',
audio: 'Audio devices',
};
@@ -2066,8 +2066,7 @@ export function SettingsModal({ onClose, onSaved, initialSection, onMainPaneChan
return (
<>
<SectionHeader
title="PowerGenius XL"
hint="OpsLog reads the amp's operate state through the FlexRadio, but the fan mode is only reachable on the PowerGenius XL's own TCP control port. Enter its IP to add a fan-mode selector next to Operate in the FlexRadio panel."
title="Power Genius XL"
/>
<div className="space-y-4 max-w-xl">
<label className="flex items-center gap-2 text-sm cursor-pointer">