aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-02-28 13:44:37 +0100
committerChocobozzz <me@florianbigard.com>2022-02-28 13:45:09 +0100
commite66d0892b12c5b3b3e8a6b7a4129103a912486a9 (patch)
treeddaa32d9ac062385735ab528123459930b8e1a3d /client
parenta282e4d8a072cd56db8c393be7715bda420a243d (diff)
downloadPeerTube-e66d0892b12c5b3b3e8a6b7a4129103a912486a9.tar.gz
PeerTube-e66d0892b12c5b3b3e8a6b7a4129103a912486a9.tar.zst
PeerTube-e66d0892b12c5b3b3e8a6b7a4129103a912486a9.zip
Fix listUserChannelsForSelect
Diffstat (limited to 'client')
-rw-r--r--client/src/app/helpers/utils/channel.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/helpers/utils/channel.ts b/client/src/app/helpers/utils/channel.ts
index 2cd56d6e6..094a844e0 100644
--- a/client/src/app/helpers/utils/channel.ts
+++ b/client/src/app/helpers/utils/channel.ts
@@ -24,7 +24,7 @@ function listUserChannelsForSelect (authService: AuthService) {
24 id: c.id, 24 id: c.id,
25 label: c.displayName, 25 label: c.displayName,
26 support: c.support, 26 support: c.support,
27 avatarPath: minBy(c.avatars, 'width')[0]?.path 27 avatarPath: minBy(c.avatars, 'width')?.[0]?.path
28 }) as SelectChannelItem) 28 }) as SelectChannelItem)
29 }) 29 })
30 ) 30 )