File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/renderer/views/SubscribedChannels Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import FtFlexBox from '../../components/ft-flex-box/ft-flex-box.vue'
5
5
import FtInput from '../../components/ft-input/ft-input.vue'
6
6
import FtSubscribeButton from '../../components/ft-subscribe-button/ft-subscribe-button.vue'
7
7
import { invidiousGetChannelInfo , youtubeImageUrlToInvidious , invidiousImageUrlToInvidious } from '../../helpers/api/invidious'
8
- import { getLocalChannel } from '../../helpers/api/local'
8
+ import { getLocalChannel , parseLocalChannelHeader } from '../../helpers/api/local'
9
9
import { ctrlFHandler } from '../../helpers/utils'
10
10
11
11
export default defineComponent ( {
@@ -141,7 +141,7 @@ export default defineComponent({
141
141
getLocalChannel ( channel . id ) . then ( response => {
142
142
if ( ! response . alert ) {
143
143
this . updateSubscriptionDetails ( {
144
- channelThumbnailUrl : this . thumbnailURL ( response . header . author . thumbnails [ 0 ] . url ) ,
144
+ channelThumbnailUrl : this . thumbnailURL ( parseLocalChannelHeader ( response ) . thumbnailUrl ) ,
145
145
channelName : channel . name ,
146
146
channelId : channel . id
147
147
} )
You can’t perform that action at this time.
0 commit comments