From 78220e700f719d32124b9db8fb0c21984c960565 Mon Sep 17 00:00:00 2001 From: rouggy Date: Tue, 21 Jul 2026 00:57:16 +0200 Subject: [PATCH] fix: hide the entire Flex-reported amp card when PowerGenius is not the selected amp type --- frontend/src/components/FlexPanel.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/FlexPanel.tsx b/frontend/src/components/FlexPanel.tsx index fc90194..bb27b1e 100644 --- a/frontend/src/components/FlexPanel.tsx +++ b/frontend/src/components/FlexPanel.tsx @@ -812,8 +812,10 @@ export function FlexPanel({ onCWSpeed, onReportRST }: { onCWSpeed?: (wpm: number )} - {/* External amplifier (PowerGenius XL) — only when detected. */} - {st.amp_available && ( + {/* External amplifier (PowerGenius XL) — only when the Flex reports one AND + PowerGenius is the selected amp type. Running an SPE Expert hides this + Flex-reported card so the two amps don't both show. */} + {st.amp_available && !isSPE && (