Merge branch 'master' into playlist

This commit is contained in:
Bnyro
2022-08-06 12:54:55 +02:00
committed by GitHub
5 changed files with 53 additions and 34 deletions

View File

@@ -217,8 +217,8 @@ const mixin = {
localStorage.setItem("localSubscriptions", JSON.stringify(localSubscriptions));
},
getUnauthenticatedChannels() {
const localSubscriptions = this.getLocalSubscriptions();
return localSubscriptions != null ? localSubscriptions.join(",") : "";
const localSubscriptions = this.getLocalSubscriptions() ?? [];
return localSubscriptions.join(",");
},
/* generate a temporary file and ask the user to download it */
download(text, filename, type) {