Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix listUserChannelsForSelect

Chocobozzze66d0892b12c
diff --git a/client/src/app/helpers/utils/channel.ts b/client/src/app/helpers/utils/channel.ts
index 2cd56d6e68..094a844e0e 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) {
id: c.id,
label: c.displayName,
support: c.support,
- avatarPath: minBy(c.avatars, 'width')[0]?.path
+ avatarPath: minBy(c.avatars, 'width')?.[0]?.path
}) as SelectChannelItem)
})
)