From 23490baf496c9c2942d187dd3a4a2d089912b1f4 Mon Sep 17 00:00:00 2001 From: Pierre Ferran Date: Mon, 29 Apr 2024 22:24:02 -0400 Subject: [PATCH] Fix filter in mini view --- src/app/components/mini.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/app/components/mini.tsx b/src/app/components/mini.tsx index aa452bca..34e0b851 100644 --- a/src/app/components/mini.tsx +++ b/src/app/components/mini.tsx @@ -7,8 +7,7 @@ const Mini: React.FC = () => { return (
- {radios.map((radio) => { - if (radio.rx) { + {radios.filter((r) => r.rx).map((radio) => { return (
{ {radio.lastReceivedCallsign ? radio.lastReceivedCallsign : ""}
); - } - return null; })}