Fixed fallback watch URL not generated for scenes without URL or network.
This commit is contained in:
@@ -6,7 +6,7 @@ function getWatchUrl(scene) {
|
||||
return new URL(scene.url).href;
|
||||
}
|
||||
|
||||
if (scene.channel && (scene.channel.isIndependent || scene.channel.type === 'network')) {
|
||||
if (scene.channel && (scene.channel.isIndependent || scene.channel.type === 'network' || !scene.network)) {
|
||||
return new URL(scene.channel.url).href;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user