mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Fix error when subscriptions are null.
This commit is contained in:
parent
c37b5390cf
commit
4bacca566e
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ const mixin = {
|
||||||
localStorage.setItem("localSubscriptions", JSON.stringify(localSubscriptions));
|
localStorage.setItem("localSubscriptions", JSON.stringify(localSubscriptions));
|
||||||
},
|
},
|
||||||
getUnauthenticatedChannels() {
|
getUnauthenticatedChannels() {
|
||||||
const localSubscriptions = this.getLocalSubscriptions();
|
const localSubscriptions = this.getLocalSubscriptions() ?? [];
|
||||||
return localSubscriptions.join(",");
|
return localSubscriptions.join(",");
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue