Remove unused logging for debugging

This commit is contained in:
Bnyro 2023-06-15 23:12:26 +02:00
parent 4056c44fbb
commit f854af3581
2 changed files with 3 additions and 4 deletions

View File

@ -112,7 +112,7 @@
title="RSS feed"
role="button"
v-if="video.uploaderUrl"
:href="`${apiUrl()}/fss?channels=${video.uploaderUrl.split('/')[2]}`"
:href="`${apiUrl()}/feed/unauthenticated/rss?channels=${video.uploaderUrl.split('/')[2]}`"
target="_blank"
class="btn flex items-center"
>
@ -494,7 +494,7 @@ export default {
},
async fetchSubscribedStatus() {
if (!this.channelId) return;
if ({
if (!this.authenticated) {
this.subscribed = this.isSubscribedLocally(this.channelId);
return;
}
@ -531,7 +531,7 @@ export default {
});
},
subscribeHandler() {
if {
if (this.authenticated) {
this.fetchJson(this.authApiUrl() + (this.subscribed ? "/unsubscribe" : "/subscribe"), null, {
method: "POST",
body: JSON.stringify({

View File

@ -385,7 +385,6 @@ const mixin = {
const videoIds = JSON.parse(playlist.videoIds);
const videosFuture = videoIds.map(videoId => this.getLocalPlaylistVideo(videoId));
playlist.relatedStreams = await Promise.all(videosFuture);
console.log(playlist);
return playlist;
}