From 11bb81795da7f4e96581c76fb0b77af48bafa3b1 Mon Sep 17 00:00:00 2001 From: ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com> Date: Fri, 20 Aug 2021 14:45:00 -0400 Subject: [PATCH] fix featured icons not loading (#1552) Co-authored-by: Preston --- src/renderer/views/Channel/Channel.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/renderer/views/Channel/Channel.js b/src/renderer/views/Channel/Channel.js index bb3d03583..6f5c97346 100644 --- a/src/renderer/views/Channel/Channel.js +++ b/src/renderer/views/Channel/Channel.js @@ -259,6 +259,14 @@ export default Vue.extend({ this.thumbnailUrl = response.authorThumbnails[2].url this.channelDescription = autolinker.link(response.description) this.relatedChannels = response.relatedChannels.items + this.relatedChannels.forEach(relatedChannel => { + relatedChannel.authorThumbnails.map(thumbnail => { + if (!thumbnail.url.includes('https')) { + thumbnail.url = `https:${thumbnail.url}` + } + return thumbnail + }) + }) if (response.authorBanners !== null) { const bannerUrl = response.authorBanners[response.authorBanners.length - 1].url