Merge pull request #297 from UniversityRadioYork/alyx-off-air
fixed wording when station off air. (#296)
This commit is contained in:
commit
537e617332
1 changed files with 2 additions and 3 deletions
|
@ -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",
|
||||
|
@ -23,7 +22,7 @@ export function Timelord() {
|
|||
"WebStudio",
|
||||
"Unknown",
|
||||
"Sine Wave",
|
||||
"Off Air",
|
||||
"Station is Off Air",
|
||||
];
|
||||
|
||||
let sourceName = "Unknown";
|
||||
|
@ -94,7 +93,7 @@ export function Timelord() {
|
|||
source.id > -1 && (
|
||||
<span className="source">
|
||||
<span className={"studio studio" + source.id}>{source.name}</span>
|
||||
is On Air
|
||||
{source.id !== 8 ? " is On Air" : ""}
|
||||
</span>
|
||||
)
|
||||
)}
|
||||
|
|
Loading…
Reference in a new issue