Fix error when subscriptions are null.

This commit is contained in:
Kavin 2022-08-04 11:38:04 +05:30
parent c37b5390cf
commit 4bacca566e
No known key found for this signature in database
GPG Key ID: 49451E4482CC5BCD
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ const mixin = {
localStorage.setItem("localSubscriptions", JSON.stringify(localSubscriptions));
},
getUnauthenticatedChannels() {
const localSubscriptions = this.getLocalSubscriptions();
const localSubscriptions = this.getLocalSubscriptions() ?? [];
return localSubscriptions.join(",");
},
},