Skip to content

Commit

Permalink
Merge pull request #23 from neilenns/neilenns/issue20
Browse files Browse the repository at this point in the history
  • Loading branch information
pierr3 authored Apr 30, 2024
2 parents 7cb5642 + ba62731 commit 59802d3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/app/components/mini.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@ const Mini: React.FC = () => {
return (
<div className="box-container mini">
<div className="container">
{radios.filter((r) => r.lastReceivedCallsign).map((radio) => {
{radios.map((radio) => {
if (radio.rx) {
return (
<div
key={radio.frequency}
style={{ color: radio.currentlyTx ? "orange" : "inherit" }}
>
{radio.callsign}: {radio.lastReceivedCallsign}
{radio.callsign}:{" "}
{radio.lastReceivedCallsign ? radio.lastReceivedCallsign : ""}
</div>
);
}
Expand Down

0 comments on commit 59802d3

Please sign in to comment.