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 e4844e76..97abed51 100644 --- a/src/renderer/components/watch-video-playlist/watch-video-playlist.js +++ b/src/renderer/components/watch-video-playlist/watch-video-playlist.js @@ -285,7 +285,7 @@ export default Vue.extend({ this.channelId = result.author.id this.playlistItems = result.items.map((video) => { - if (video.author.name !== null) { + if (video.author !== null) { const channelName = video.author.name const channelId = video.author.ref.replace(/https:\/\/(www\.)?youtube\.com\/(user|channel)\//g, '') video.author = channelName diff --git a/src/renderer/views/Playlist/Playlist.js b/src/renderer/views/Playlist/Playlist.js index 54c9983d..463f3189 100644 --- a/src/renderer/views/Playlist/Playlist.js +++ b/src/renderer/views/Playlist/Playlist.js @@ -93,7 +93,7 @@ export default Vue.extend({ } this.playlistItems = result.items.map((video) => { - if (video.author.name !== null) { + if (video.author !== null) { const channelName = video.author.name const channelId = video.author.ref.replace(/https:\/\/(www\.)?youtube\.com\/(user|channel)\//g, '') video.author = channelName