mirror of https://github.com/Chocobozzz/PeerTube
Fix listUserChannelsForSelect
parent
a282e4d8a0
commit
e66d0892b1
|
@ -24,7 +24,7 @@ function listUserChannelsForSelect (authService: AuthService) {
|
||||||
id: c.id,
|
id: c.id,
|
||||||
label: c.displayName,
|
label: c.displayName,
|
||||||
support: c.support,
|
support: c.support,
|
||||||
avatarPath: minBy(c.avatars, 'width')[0]?.path
|
avatarPath: minBy(c.avatars, 'width')?.[0]?.path
|
||||||
}) as SelectChannelItem)
|
}) as SelectChannelItem)
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue