ActivityPub-federated video streaming platform using P2P directly in your web browser
More robust avatar finder
Chocobozzzcb23087ff537
diff --git a/client/src/app/helpers/utils/channel.ts b/client/src/app/helpers/utils/channel.tsindex fe59ea5678..e7d0c39f7c 100644--- a/client/src/app/helpers/utils/channel.ts+++ b/client/src/app/helpers/utils/channel.ts@@ -40,5 +40,5 @@ export {function getAvatarPath (c: VideoChannel) {if (!c.avatars || c.avatars.length === 0) return undefined- return minBy(c.avatars, 'width').path+ return minBy(c.avatars, 'width')?.path || c.avatars[0].path}