Merge pull request #242 from UniversityRadioYork/mstratford-offair
Fix unknown timelord when off air
This commit is contained in:
commit
4ba9e3f7d5
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ export function Timelord() {
|
|||
];
|
||||
|
||||
let sourceName = "Unknown";
|
||||
if (studio > 0 && studio < sourceNames.length) {
|
||||
if (studio > 0 && studio <= sourceNames.length) {
|
||||
sourceName = sourceNames[studio - 1];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue