diff options
Diffstat (limited to 'client/src/app/helpers')
-rw-r--r-- | client/src/app/helpers/utils/channel.ts | 2 |
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 | ) |