mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-30 18:43:17 +00:00
Remove unused logging for debugging
This commit is contained in:
parent
4056c44fbb
commit
f854af3581
@ -112,7 +112,7 @@
|
|||||||
title="RSS feed"
|
title="RSS feed"
|
||||||
role="button"
|
role="button"
|
||||||
v-if="video.uploaderUrl"
|
v-if="video.uploaderUrl"
|
||||||
:href="`${apiUrl()}/fss?channels=${video.uploaderUrl.split('/')[2]}`"
|
:href="`${apiUrl()}/feed/unauthenticated/rss?channels=${video.uploaderUrl.split('/')[2]}`"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
class="btn flex items-center"
|
class="btn flex items-center"
|
||||||
>
|
>
|
||||||
@ -494,7 +494,7 @@ export default {
|
|||||||
},
|
},
|
||||||
async fetchSubscribedStatus() {
|
async fetchSubscribedStatus() {
|
||||||
if (!this.channelId) return;
|
if (!this.channelId) return;
|
||||||
if ({
|
if (!this.authenticated) {
|
||||||
this.subscribed = this.isSubscribedLocally(this.channelId);
|
this.subscribed = this.isSubscribedLocally(this.channelId);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -531,7 +531,7 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
subscribeHandler() {
|
subscribeHandler() {
|
||||||
if {
|
if (this.authenticated) {
|
||||||
this.fetchJson(this.authApiUrl() + (this.subscribed ? "/unsubscribe" : "/subscribe"), null, {
|
this.fetchJson(this.authApiUrl() + (this.subscribed ? "/unsubscribe" : "/subscribe"), null, {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
|
@ -385,7 +385,6 @@ const mixin = {
|
|||||||
const videoIds = JSON.parse(playlist.videoIds);
|
const videoIds = JSON.parse(playlist.videoIds);
|
||||||
const videosFuture = videoIds.map(videoId => this.getLocalPlaylistVideo(videoId));
|
const videosFuture = videoIds.map(videoId => this.getLocalPlaylistVideo(videoId));
|
||||||
playlist.relatedStreams = await Promise.all(videosFuture);
|
playlist.relatedStreams = await Promise.all(videosFuture);
|
||||||
console.log(playlist);
|
|
||||||
return playlist;
|
return playlist;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user