Skip to content

Commit

Permalink
Merge pull request #297 from UniversityRadioYork/alyx-off-air
Browse files Browse the repository at this point in the history
fixed wording when station off air. (#296)
  • Loading branch information
alyxbb authored Jan 3, 2024
2 parents bb55f91 + aa980bc commit 537e617
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/navbar/timelord.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export function Timelord() {
if (process.env.REACT_APP_BAPSICLE_INTERFACE)
return { id: -1, name: "Unknown" };
let studio = await myradioApiRequest("/selector/studioattime", "GET", null);

const sourceNames = [
"Studio Red",
"Studio Blue",
Expand All @@ -23,7 +22,7 @@ export function Timelord() {
"WebStudio",
"Unknown",
"Sine Wave",
"Off Air",
"Station is Off Air",
];

let sourceName = "Unknown";
Expand Down Expand Up @@ -94,7 +93,7 @@ export function Timelord() {
source.id > -1 && (
<span className="source">
<span className={"studio studio" + source.id}>{source.name}</span>
&nbsp;is On Air
{source.id !== 8 ? " is On Air" : ""}
</span>
)
)}
Expand Down

0 comments on commit 537e617

Please sign in to comment.