1
0
Fork 0

Fix listUserChannelsForSelect

This commit is contained in:
Chocobozzz 2022-02-28 13:44:37 +01:00
parent a282e4d8a0
commit e66d0892b1
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -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)
}) })
) )