From 168f11df86daeff6915668e881b5872e010e3140 Mon Sep 17 00:00:00 2001 From: PikachuEXE Date: Wed, 31 Jan 2024 16:19:49 +0800 Subject: [PATCH] ! Fix playlist type not passed when playing next/prev item in a user playlist --- .../components/watch-video-playlist/watch-video-playlist.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/renderer/components/watch-video-playlist/watch-video-playlist.js b/src/renderer/components/watch-video-playlist/watch-video-playlist.js index 5e74cb10ea55f..a68df182ec136 100644 --- a/src/renderer/components/watch-video-playlist/watch-video-playlist.js +++ b/src/renderer/components/watch-video-playlist/watch-video-playlist.js @@ -302,7 +302,8 @@ export default defineComponent({ playNextVideo: function () { const playlistInfo = { - playlistId: this.playlistId + playlistId: this.playlistId, + playlistType: this.playlistType, } const videoIndex = this.videoIndexInPlaylistItems @@ -349,7 +350,8 @@ export default defineComponent({ showToast(this.$t('Playing Previous Video')) const playlistInfo = { - playlistId: this.playlistId + playlistId: this.playlistId, + playlistType: this.playlistType, } const videoIndex = this.videoIndexInPlaylistItems